- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS - Root servers problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 04:12 AM
тАО03-22-2005 04:12 AM
I'm presently configuring a DNS server with BIND 9.2.0 on an old D-class. I've manage to get everything set up and working except that my DNS clients can't resolve names outside of our network (i.e --> google.ca). So I assume that my problem is with the root servers; that I can't reach them or whatever. Both server and clients are behind a proxy/firewall, maybe there is a special config for such a setup?
My server's /etc/named.conf looks like this for the "." zone:
zone "."IN {
type hint;
file "db.cache";
};
My server's /etc/named.data/db.cache is internic's unmodified named.root file.
My server's /etc/resolv.conf states:
search mydomain
nameserver 192.168.1.100 (my own ip)
My server's /etc/nsswitch.conf goes like this:
passwd: files
group: files
hosts: files [NOTFOUND=continue] dns
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
And while I'm at it, since named has been running on this machine, logging onto it is really slow. I get the login prompt, but the password prompt take a minute or two to appear. I've read previous posts on similar issues, but nothing seems to fix this.
Thanks to all who will take the time to read this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 04:32 AM
тАО03-22-2005 04:32 AM
SolutionYour resolve.conf file needs to point to a valid external DNS server and be able to connect to it.
This procedure works on HP-UX.
It will solve the root issue.
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/DNS-HOWTO.html
Don't worry that its a Linux doc, the root section is exactly the same on hp-ux.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 05:06 AM
тАО03-22-2005 05:06 AM
Re: DNS - Root servers problem
You could be missing the forwarders directive in named.conf.
Second, resolv.conf should have:
domain mydomain
and possibly-->options ndots: 2
nothing else.
I'll try to find my post on setting up a DNS caching server which is similar to a DNS master server.
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 07:48 AM
тАО03-22-2005 07:48 AM
Re: DNS - Root servers problem
"Your resolve.conf file needs to point to a valid external DNS server and be able to connect to it."
Now that's something i don't have in my named.conf. I asked my network admin for the address of our ISP's DNS server. I don't want to use our existing windoze DNS server (as a forwarder) because the unix one, ultimatly, is supposed to be an alternative DNS.
Harry said:
"Second, resolv.conf should have:
domain mydomain
and possibly-->options ndots: 2"
This has been corrected.
Thanks to both of you, i'll post as soon as I get the address of my ISP's DNS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 08:04 AM
тАО03-22-2005 08:04 AM
Re: DNS - Root servers problem
I disagree. Our internal DNS server does NOT have our ISPs DNS server(s) in its resolv.conf file. The "forwarders directive in the options section of the named.conf file takes care of that issue.
If the query cannot be resolved locally it goes through the list of forwarders.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 08:10 AM
тАО03-22-2005 08:10 AM
Re: DNS - Root servers problem
Then the list of forwarders is what? The list of root servers?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 08:13 AM
тАО03-22-2005 08:13 AM
Re: DNS - Root servers problem
Say your ISP has 3 DNS servers: 1.2.3.4, 1.2.3.5, 1.2.3.6
The forwarders section of named.conf would look like:
options {
check-names response fail;
check-names slave warn;
directory "/etc/named.data";
forwarders { 1.2.3.4;
1.2.3.5;
1.2.3.6;
};
};
# man named.conf
for details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 08:26 AM
тАО03-22-2005 08:26 AM
Re: DNS - Root servers problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 08:34 AM
тАО03-22-2005 08:34 AM
Re: DNS - Root servers problem
Hopefully the ATTACHED tar can guide people to set up DNS caching servers. Nicolas, For you it will help show what a named.conf should look like.
The tar is relative, thus restore it to /tmp - IT's ONLY 30K.
root@vpart1 /tmp]# tar -tvf DNScache.tar
rwxrwxrwx 0/3 0 Mar 22 15:55 2005 ./DNSexplain/
rwxrwxrwx 0/3 0 Mar 22 16:28 2005 ./DNSexplain/etc/
rwxr-xr-x 0/3 0 Mar 22 16:14 2005 ./DNSexplain/etc/named.data/
r--r----- 0/3 261 Nov 5 13:58 2003 ./DNSexplain/etc/named.data/db.127.0.0
r--r----- 0/3 585 Mar 22 16:06 2005 ./DNSexplain/etc/named.data/db.cache
r--r----- 0/3 294 Mar 22 16:06 2005 ./DNSexplain/etc/named.data/db.loghost.YOURDOMAIN.com
rw-rw-rw- 0/3 2027 Mar 22 16:14 2005 ./DNSexplain/etc/named.data/README
r--r----- 0/3 302 Mar 22 16:06 2005 ./DNSexplain/etc/named.data/db.localhost.YOURDOMAIN.com
r--r----- 0/3 298 Mar 22 16:07 2005 ./DNSexplain/etc/named.data/db.loopback.YOURDOMAIN.com
r--r----- 0/3 1418 Mar 22 15:59 2005 ./DNSexplain/etc/named.conf
r--r----- 0/3 228 Mar 22 16:00 2005 ./DNSexplain/etc/rndc.conf
rw-rw-rw- 0/3 1820 Mar 22 16:28 2005 ./DNSexplain/etc/README
r--r--r-- 0/3 272 Mar 22 16:00 2005 ./DNSexplain/etc/nsswitch.conf
r--r--r-- 0/3 38 Mar 22 16:00 2005 ./DNSexplain/etc/resolv.conf
r--r----- 0/3 56 Mar 22 15:56 2005 ./DNSexplain/etc/KYOURDOMAIN.com.+157+43597.key
r--r----- 0/3 81 Nov 5 13:58 2003 ./DNSexplain/etc/KYOURDOMAIN.com.+157+43597.private
rwxrwxrwx 0/3 0 Oct 15 14:53 2004 ./DNSexplain/var/
rwxrwxrwx 0/3 0 Mar 22 16:01 2005 ./DNSexplain/var/run/
rw-rw-rw- 0/3 0 Mar 22 16:01 2005 ./DNSexplain/var/run/named.pid
[root@vpart1 /tmp]# ls -l DNScache.tar
-rw-rw-rw- 1 root sys 30720 Mar 22 16:29 DNScache.tar
good luck
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 08:36 AM
тАО03-22-2005 08:36 AM
Re: DNS - Root servers problem
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2005 03:41 AM
тАО03-23-2005 03:41 AM
Re: DNS - Root servers problem
I'm not to sure what the .key and .private are for though...care to shed some light on that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2005 05:11 AM
тАО03-23-2005 05:11 AM
Re: DNS - Root servers problem
After installing bind 9.2 from software.hp.com, do a man on rndc-confgen
the "keys" are for "rndc" commands.
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2005 08:29 AM
тАО03-23-2005 08:29 AM
Re: DNS - Root servers problem
I tried to put our ISP's DNS servers addresses as forwarders this morning and it didn't work. So the network admin suggested that I put our proxy's address, since the unix machine doesn't have direct connection to those DNS servers. It worked!
Thanks to all...
P.S. For that other thing, the one about the login being really slow on the DNS server...I delete the entry in my local host file (my desktop) for that server, and that seemed to fix it!