- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS and reverse lookup?
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
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
08-29-2001 09:49 AM
08-29-2001 09:49 AM
Any suggestions? The only thing I can think of is that I don't have another primary statement in my named.boot file so that the machine can do successful reverse lookups for the subnet that ALL machines are on.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 10:00 AM
08-29-2001 10:00 AM
Re: DNS and reverse lookup?
When you shutdown named on secondary you have problem on client logging in to another unix server or another client. if this is correct then
1. Check your /etc/resolv.conf file on client
2. add both servers IP in it so it looks like this
domain mydomain.com
nameserver ip-of-master
nameserver ip-of-secondary1
nameserver ip-of-secondary2
What does it do? if first nameserver is not available then after 90sec it query second nameserver then third. Maximum three nameserver is allowed.
This should resolv your problem. If not post your output of
client1#>nslookup servername
client1#>nslookup server-ip
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 10:36 AM
08-29-2001 10:36 AM
Re: DNS and reverse lookup?
If one or the other is not available, then a timeout (which can be up to 90 seconds) will happen for the client that tries for that server first. Once the timeout is satisfied, the client should then use the other machine. The timeout is the killer.
Make sure all the clients are pointed to one machine with the other as backup. Tell them there will be a slowdown if you have to take that machine down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 04:56 PM
08-29-2001 04:56 PM
Re: DNS and reverse lookup?
fail when you take the secondary down. The
client can be the nameserver used by the windows
clients.
If the DNS security is different between the primary
and secondary, then you may not be able to use
the primary to resolve addresses. Check the named
configuration file on each machine for acces control lists.
If you have the dig command try the command
dig yourdomain.com
to see what it lists as nameservers. There should be
at least two entries one for each of your servers.
Some DNS admins recommend a tightly secured
master with all user access via secondaries (at least 2).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 02:54 AM
08-30-2001 02:54 AM
Re: DNS and reverse lookup?
If name resolution problem starts only when any one of the named services(primary/secondary) going down, then you can probably check for the similarity of the named data in both primary and secondary servers.
Ensure that as when you are modifying the DNS database in the primary server, its getting updated in secondary server and also vice versa. Its always recommended to carry out changes in the master server.
Inspite of it, if the problem continues, check for the correct /etc/resolv.conf entries in all systems as mentioned by Sachin.
Hope this will help a bit.
Regards,
N.Harinath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:50 AM
08-30-2001 03:50 AM
Re: DNS and reverse lookup?
I think Technical Knowledge Base document #NR0500KBRC00002433 provides what you seek:
/begin_quote/
PROBLEM
How can the timeout and retransmit default for a dns query be changed?
RESOLUTION
To change the timeout and retransmit default for a dns query:
1. Install the applicable patch:
PHCO_20098 (HP-UX 10.20 - libc:y2k:year2000:cumulative)
PHCO_20493 (HP-UX 11.0 - libc:10.20:compatibility)
Note: These patches, as with any patches, may be superseded ...
2. Edit /etc/resolv.conf by adding the retry and retrans parameters.
retrans is specified in milli-seconds. For example, to configure the system to only do two retries and to retransmit in 3 seconds, edit the file in the following manner:
domain mydomain.com
nameserver ip_of_nameserver1
nameserver ip_of_nameserver2
retry 2
retrans 3000
Note: nslookup is not a valid test to prove that these parameters make a difference with name resolution. Instead, use getip, or an application that makes calls using gethostbyname.
For example: telnet, ftp, or ping.
/end_quote/
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 11:32 AM
08-30-2001 11:32 AM
Re: DNS and reverse lookup?
So as it stands, if I take down either dns server, it causes the telnet hang and disallow of rlogin.
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 01:11 PM
08-30-2001 01:11 PM
Re: DNS and reverse lookup?
Try to telnet with primary first in resolv.conf, and secondary second..then kill named on the secondary server..this will NOT affect the telnet request.
then to test, kill named on primary, restart named on secondary..this is where your retry retrans variables come into play..as was stated..your telnet could have a 90second delay..
If you still are experiences telnet problems when ONLY the second server listed in resolv.conf's named process is killed..I would like to know what version of Bind you are using.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 01:51 PM
08-30-2001 01:51 PM
Re: DNS and reverse lookup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 02:43 PM
08-30-2001 02:43 PM
Re: DNS and reverse lookup?
There are so many points of issue here.
The telentd, by default, on HP will try to resolve the IP of the connecting PC. If it can't it will eventually time out and continue to connect the PC. If there are several issues to resolving names on the server a telnet client may time out on the PC.
If the PC's resolv.conf has too many failures ontop of some time outs on the server they will combine to time out the telnet client.
I would suggest a primary DNS server that only secondaries connect to. At least two, pref three, secondaries that all computers use, including the primary dns server. Reverse lookups for all computers or stopping the telnetd from trying to resolve IP's to names should help.
If you could pass on your named.boot and resolv.conf of server and PC's it would help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 09:23 AM
08-31-2001 09:23 AM
Re: DNS and reverse lookup?
Killing named on primary or secondary affected the telnet request and the rlogin request.
Version of Bind is 4.9.7
Here is the named.boot info:
named.boot on the primary:
;
; type domain source file
;
directory /usr/local/dns ; running directory for named
primary 0.0.127.IN-ADDR.ARPA db.127.0.0
primary bcs.bls.com db.bcs
primary 48.73.90.IN-ADDR.ARPA db.90.73.48
cache . db.cache
named.boot on the secondary:
;
; type domain source file
;
directory /etc ; running directory for named
primary 0.0.127.IN-ADDR.ARPA db.127.0.0
secondary bcs.bls.com db.bcs
secondary 48.73.90.IN-ADDR.ARPA db.90.73.48
cache . db.cache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 10:08 AM
08-31-2001 10:08 AM
SolutionFirst in your secondary I will suggest you will change directory from /etc to /etc/domain or anything you want but in separate directory
.
Second in your named.boot on secondary server
; type domain source host backup file
secondary bcs.bls.com ip-of-primary db.bcs
secondary 48.73.90.IN-ADDR.ARPA ip-of-primary db.90.73.48
Killing named on anyof the server will not affect telnet or rlogin. But better way is to use
#sig_named restart (this will reread the dns map)
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 10:33 AM
08-31-2001 10:33 AM
Re: DNS and reverse lookup?
Apparently, when I placed the IP address of the primary back in the named.boot file of the secondary dns server, this seemed to make things work.
It's funny, because I had this info in this file previously, and had taken it out.
What may have had something to do with it is the patch I installed on both dns servers (PHNE_23274) as recommended by HP, since I had opened a call on this problem.
But regardless, thanx for all of your help.. Now I have to determine which item was the actual fix.. The patch or the 'putting back' of the entries in the named.boot file on the secondary.
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 10:39 AM
08-31-2001 10:39 AM
Re: DNS and reverse lookup?
May be both. when you had entry in you named.boot you didn't had patch. And when you add patch, you didn't had entry in named.boot.
But I am glad that it is working.
Sachin