- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What can be causing DNS timeouts from internal to ...
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
03-13-2007 07:49 AM
03-13-2007 07:49 AM
What can be causing DNS timeouts from internal to external?
That said, even if I bypass them and go direct to root servers, we get the same behaviour.
On unix machines - there is a delay and sometimes no response.
On windows, we almost always get:
> www.disney.com
Server: myserver.myinternaldomain.net
Address: 192.168.162.6
DNS request timed out.
timeout was 2 seconds.
Non-authoritative answer:
Name: disney.com
Address: 199.181.132.250
Aliases: www.disney.com
Or
> labtec.com
Server: myserver.myinternaldomain.net
Address: 192.168.162.6
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to myserver.myinternaldomain.net timed-out
Again, this is only happening for external resolution - internally the servers resolve almost instaneously with the correct answer...
I can't find any errors in log files on DNS servers...
Here's part of the named.conf file for a slave:
options {
directory "/etc/namedb";
forwarders {
207.181.101.4; 207.181.101.5;
};
forward only;
};
logging {
channel all_channel {
file "/var/log/named/named.log" versions 5 size 5M; // keep 5 versions max
5 MB in size
print-category yes;
print-severity yes;
print-time yes;
};
channel update_channel {
file "/var/log/named/update.log" versions 5 size 5M; // keep 5 versions ma
x 5 MB in size
print-category yes;
print-severity yes;
print-time yes;
};
channel query_channel {
file "/var/log/named/query.log" versions 5 size 5M; // keep 5 versions max
5 MB in size
print-category yes;
print-severity yes;
print-time yes;
};
//category queries { null; };
category queries { query_channel; };
category update { update_channel; };
category default { all_channel; };
};
zone "." in {
type hint;
file "named.cache";
};
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 07:54 AM
03-13-2007 07:54 AM
Re: What can be causing DNS timeouts from internal to external?
Are you able to directly query these two servers successfully ? 207.181.101.4; 207.181.101.5;
It will not hurt to have your network folks monitor the 53 UDP & TCP (mostly UDP) traffic from your internal DNS server to the external servers.
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 08:03 AM
03-13-2007 08:03 AM
Re: What can be causing DNS timeouts from internal to external?
usually I just see this when using a windows dns forwarder somewhere in the line; with that (obviously) out of the question it would seem like a network issue; I'd suggest asking bind itself, bind9 has the best debug output of all applications I ever ran. Restart the nameserver with a debuglevel above 4 and it will automatically dump a log somewhere (i think the toplevel of it's chroot directory) that contains *really* *useful* *data*.
Or you could try enabled query statistics, but I think that's not really helping much, as it will only verify a problem exists, but not show its cause.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 08:04 AM
03-13-2007 08:04 AM
Re: What can be causing DNS timeouts from internal to external?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 08:16 AM
03-13-2007 08:16 AM
Re: What can be causing DNS timeouts from internal to external?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 09:02 AM
03-13-2007 09:02 AM
Re: What can be causing DNS timeouts from internal to external?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 09:37 AM
03-13-2007 09:37 AM
Re: What can be causing DNS timeouts from internal to external?
filesharing comes to mind there... hehe
Also routing congestion somewhere in your upstream, DNS being udp based can't recover from packet loss, except by retrying till a packet gets through.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 09:38 AM
03-13-2007 09:38 AM
Re: What can be causing DNS timeouts from internal to external?
Can you do a traceroute to those servers? How long does it take? Is it an extraordinarily long route to those servers?
I know it's a real long shot, but you never know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 10:20 AM
03-13-2007 10:20 AM
Re: What can be causing DNS timeouts from internal to external?
You've probably already got this - BUT...
Review /etc/resolv.conf and make sure that "domain" is defined. I seem to remember hitting this and it acting somewhat similar a long time ago...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 02:07 AM
03-14-2007 02:07 AM
Re: What can be causing DNS timeouts from internal to external?
domain is set in resolv.conf
Thanks...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 02:58 AM
03-14-2007 02:58 AM
Re: What can be causing DNS timeouts from internal to external?
When traceroute is disallowed and the network admins have also covered traceroute -I, I usually tend to do my 'network probing' using hping2, which is an excellent tool for forging your own packets with relative ease.
Who knows it could help you finding out possible high latency between you and the remote dns sockets..
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 03:08 AM
03-14-2007 03:08 AM
Re: What can be causing DNS timeouts from internal to external?
at least temporarily they should support your debugging. :)
for traceroute you need:
proto icmp icmp-type 0
proto icmp icmp-type 8
proto icmp icmp-type 11
how about the named debug mode?
florian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 03:58 AM
03-14-2007 03:58 AM
Re: What can be causing DNS timeouts from internal to external?
# cat named.run
14-Mar-2007 09:53:10.955 starting BIND 9.3.2-P1 -d4
14-Mar-2007 09:53:10.963 found 2 CPUs, using 2 worker threads
14-Mar-2007 09:53:10.972 loading configuration from '/etc/named.conf'
14-Mar-2007 09:53:10.986 set maximum stack size to -3: success
14-Mar-2007 09:53:10.986 set maximum data size to -3: success
14-Mar-2007 09:53:10.986 set maximum core size to -3: success
14-Mar-2007 09:53:10.986 set maximum open files to 65536: success
14-Mar-2007 09:53:10.987 listening on IPv4 interface lo0, 127.0.0.1#53
14-Mar-2007 09:53:10.988 clientmgr @282428: create
14-Mar-2007 09:53:10.988 clientmgr @282428: createclients
14-Mar-2007 09:53:10.989 clientmgr @282428: create new
14-Mar-2007 09:53:10.989 client @2a3ea8: create
14-Mar-2007 09:53:10.989 clientmgr @282428: create new
14-Mar-2007 09:53:10.989 client @2a5bc8: create
14-Mar-2007 09:53:10.989 clientmgr @282428: createclients
14-Mar-2007 09:53:10.989 clientmgr @282428: create new
14-Mar-2007 09:53:10.989 client @2a7a48: create
14-Mar-2007 09:53:10.989 listening on IPv4 interface bge0, 10.8.60.45#53
14-Mar-2007 09:53:10.989 clientmgr @2a9810: create
14-Mar-2007 09:53:10.989 clientmgr @2a9810: createclients
14-Mar-2007 09:53:10.989 clientmgr @2a9810: create new
14-Mar-2007 09:53:10.990 client @2a9c68: create
14-Mar-2007 09:53:10.990 clientmgr @2a9810: create new
14-Mar-2007 09:53:10.990 client @2ab988: create
14-Mar-2007 09:53:10.990 clientmgr @2a9810: createclients
14-Mar-2007 09:53:10.990 clientmgr @2a9810: create new
14-Mar-2007 09:53:10.990 client @2ad808: create
14-Mar-2007 09:53:10.990 listening on IPv4 interface bge0:1, 10.8.60.44#53
14-Mar-2007 09:53:10.990 clientmgr @2af5d8: create
14-Mar-2007 09:53:10.990 clientmgr @2af5d8: createclients
14-Mar-2007 09:53:10.990 clientmgr @2af5d8: create new
14-Mar-2007 09:53:10.990 client @2afa28: create
14-Mar-2007 09:53:10.990 clientmgr @2af5d8: create new
14-Mar-2007 09:53:10.990 client @2b1748: create
14-Mar-2007 09:53:10.990 clientmgr @2af5d8: createclients
14-Mar-2007 09:53:10.990 clientmgr @2af5d8: create new
14-Mar-2007 09:53:10.991 client @2b35c8: create
14-Mar-2007 09:53:10.991 listening on IPv4 interface bge1, 10.8.60.46#53
14-Mar-2007 09:53:10.991 clientmgr @2b5390: create
14-Mar-2007 09:53:10.991 clientmgr @2b5390: createclients
14-Mar-2007 09:53:10.991 clientmgr @2b5390: create new
14-Mar-2007 09:53:10.991 client @2b57e0: create
14-Mar-2007 09:53:10.991 clientmgr @2b5390: create new
14-Mar-2007 09:53:10.991 client @2b7500: create
14-Mar-2007 09:53:10.991 clientmgr @2b5390: createclients
14-Mar-2007 09:53:10.991 clientmgr @2b5390: create new
14-Mar-2007 09:53:10.991 client @2b9380: create
14-Mar-2007 09:53:10.998 res 2c4d18: create
14-Mar-2007 09:53:10.999 dns_requestmgr_create
14-Mar-2007 09:53:10.999 dns_requestmgr_create: 2dc490
14-Mar-2007 09:53:10.999 dns_requestmgr_whenshutdown
14-Mar-2007 09:53:11.000 res 2e17b8: create
14-Mar-2007 09:53:11.000 dns_requestmgr_create
14-Mar-2007 09:53:11.000 dns_requestmgr_create: 2f9700
14-Mar-2007 09:53:11.000 dns_requestmgr_whenshutdown
14-Mar-2007 09:53:11.001 command channel listening on 127.0.0.1#953
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 05:28 AM
03-14-2007 05:28 AM
Re: What can be causing DNS timeouts from internal to external?
No bad things will happen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 06:05 AM
03-15-2007 06:05 AM
Re: What can be causing DNS timeouts from internal to external?
What happened to Windows during the time change? Seems to be a coincidence - or is it?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 06:17 AM
03-15-2007 06:17 AM
Re: What can be causing DNS timeouts from internal to external?
See that there is no microsoft DNS servers between you and the objective. Microsoft's Windows 2000 server implementation does not follows standards and causes this kind of delay in getting answers.
Consider implementing limitations as to what machines are permitted to access the DNS servers. There could issues making these systems too busy.
See if the logging customization is causing the problem by temporarily cutting if off.
See that the network infrastructure and firewalls are not interfering with the timely tranmission.
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-15-2007 07:07 AM
03-15-2007 07:07 AM
Re: What can be causing DNS timeouts from internal to external?
it might help to verify if the DNS Client service is enabled on those boxes, it's similar to nscd on some unix platforms and just as prone to generate annoying errors.
for testing:
once a query seems to be failing, ask the
windows admin to do an
ipconfig /flushdns
(restarting the DNS Client service doesn't do that)
and retry the query.
The result might be interesting.
Microsoft also has a white paper on their DNS implementation that addresses most of the issues one sees daily. (it's by the people that coded the dns, they were aware of it's flaws, but noone cared)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 09:38 AM
04-03-2007 09:38 AM
Re: What can be causing DNS timeouts from internal to external?
Seems to fail on first try.
What I did was, take my workstation, not use forwarders at all, and look what happens:
C:\dig>nslookup
Default Server: myserver.myinternaldomain.net
Address: 192.168.162.6
> server sha1
Default Server: sha1.myinternaldomain.net
Address: 192.168.162.125
> www.keyboards.com
Server: sha1.pcacorp.net
Address: 192.168.162.125
DNS request timed out.
timeout was 2 seconds.
*** Request to sha1.myinternaldomain.net timed-out
> www.keyboards.com
Server: sha1.myinternaldomain.net
Address: 192.168.162.125
Non-authoritative answer:
Name: www.keyboards.com
Address: 216.57.210.200
Argh...
Rgds...Geoff