- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS name resolution 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
Forums
Discussions
Discussions
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
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
05-15-2002 03:38 AM
05-15-2002 03:38 AM
DNS name resolution problem
I have just set up dns on two test machines (primary and secondary). What I would like to accomplish is some sort of confidence in the updating process (for host name resolution) as our network is regularly being updated (addition and removal) with hp servers.
so... I have set up a primary and secondary DNS server. I make changes to the etc/hosts file on the prim (remove server 'N') and then run hosts_to_named -f /etc/named.data/param. After this I run sig_named restart on the prim. I have modified the db.XXX.XXX.XXX network map so that refreshes occur every minute (just for test purposes). But when I try to ping this networked server, the resolve is taking place and I get a response (using the alias for the ping command).
I have checked the /etc/nsswitch.conf file which I have set to return if the entry is not found in DNS. Just for elimination purposes, the entry has also been removed from /etc/hosts and NIS host map entries.
any suggestions out there?
Am I missing something fundamental (probably)
thanks in advance
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 03:43 AM
05-15-2002 03:43 AM
Re: DNS name resolution problem
Are both DNS servers in your /etc/resolv.conf ?
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 03:55 AM
05-15-2002 03:55 AM
Re: DNS name resolution problem
try this
#nslookup
>server "your_primary_server_ip"
>oldserver.yourdomain.com ( give that server name )
The reply should not come for that name.
check the forward zone file db.yourdomain.com
whether that entry has been deleted or not.
see /var/adm/syslog/syslog.log that the named
has restarted or not due to your signal.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 04:00 AM
05-15-2002 04:00 AM
Re: DNS name resolution problem
to debug DNS, try something like this (insteady of ping):
$ nslookup -d2
> set type=any
> name.ofyourhost.com.
Check the results to
1) figure out where the resover got the name
(e.g. DNS, NIS, FILES).
2) check the serial number of the zone, to make sure you are in fact looking at the current zone
3) check to see if you're getting the right answer.
In addition, after the "set type=any" directive, you can issue a directive like
> server name.ofyourprimarydnsserver.com
> name.ofyourhost.com.
to check the primary
and then
> server name.ofyoursecondaryserver.com
> name.ofyourhost.com.
to see what the secondary thinks.
If you're using older version of bind ( <8 ) then when you change the zone file on the primary, you have to either restart the secondary to get it to see the updated zone or
you have to wait up to refresh seconds to pick up the updated zone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 04:07 AM
05-15-2002 04:07 AM
Re: DNS name resolution problem
Clemens,
yes, they are both in there.
U,
good suggestions, with your help I have managed to get it half working, however, when using the hosts_to_named command the secondary server updates immediately which is OK, but does not increment its serial number.
i.e.
The secondary server db.
thanks for your help so far!
john
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 04:25 AM
05-15-2002 04:25 AM
Re: DNS name resolution problem
# sig_named restart
on the secondary
or
waiting for at most refresh seconds on the secondary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 04:47 AM
05-15-2002 04:47 AM
Re: DNS name resolution problem
I think I have found the problem...
the renamed map file (db.
I have moved it to its correct location in /etc and have rebooted. Hopefully this should resolve the problem.
thanks for everyones help! much appreciated
john