- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- DNS issue
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
12-28-2009 11:27 PM
12-28-2009 11:27 PM
For example:
[root@blrdns ~]# ping blrdns
PING blrdns.oesblr.nsn-rdnet.net (10.58.131.246) 56(84) bytes of data.
64 bytes from 10.58.131.246: icmp_seq=25 ttl=64 time=0.009 ms
64 bytes from 10.58.131.246: icmp_seq=26 ttl=64 time=0.009 ms
64 bytes from 10.58.131.246: icmp_seq=27 ttl=64 time=0.009 ms
64 bytes from 10.58.131.246: icmp_seq=28 ttl=64 time=0.009 ms
the ping response (64 bytes from ...)will be coming only after 10 seconds.
But if I do nslookup or host command it is immediatly giving the output.
[root@blrdns ~]# nslookup blrdns
Server: 10.58.131.246
Address: 10.58.131.246#53
Name: blrdns.oesblr.nsn-rdnet.net
Address: 10.58.131.246
[root@blrdns ~]# host blrdns
blrdns.oesblr.nsn-rdnet.net has address 10.58.131.246
Can anyone help me why this is happening.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2009 12:07 AM
12-29-2009 12:07 AM
Re: DNS issue
nslookup 10.58.131.246
or
host 10.58.131.246
If these have a delay, then your problem is with reverse DNS requests.
Are you using BIND or some other DNS server software?
With BIND, you can enable query logging on the DNS server side to see exactly what is happening there. Other DNS server software may allow something similar.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2009 12:08 AM
12-29-2009 12:08 AM
Re: DNS issue
> found that it is working, [...]
Not exactly a complete description of how you
configured this new DNS server, nor of how
you tested it.
> [root@blrdns ~]# nslookup blrdns
> [...]
How well does it work in reverse?:
nslookup 10.58.131.246
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2009 02:24 AM
12-29-2009 02:24 AM
Re: DNS issue
[root@blrdns ~]# rpm -qa | grep bind
ypbind-1.19-9.el5
bind-utils-9.3.4-9.P1.el5
bind-9.3.4-9.P1.el5
bind-libs-9.3.4-9.P1.el5
If I use nslookup/host command then output is coming very fast (with in a second)
If I do nslookup 10.58.131.246 then I am getting the following very fast.
[root@blrdns named]# nslookup 10.58.131.246
Server: 10.58.131.246
Address: 10.58.131.246#53
246.131.58.10.in-addr.arpa name = blrdns.oesblr.nsn-rdnet.net.
But Its not showing hostname while pinging, please find the below ,
[root@blrdns named]# ping 10.58.131.246
PING 10.58.131.246 (10.58.131.246) 56(84) bytes of data.
64 bytes from 10.58.131.246: icmp_seq=1 ttl=64 time=0.027 ms
64 bytes from 10.58.131.246: icmp_seq=2 ttl=64 time=0.009 ms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2009 02:29 AM
12-29-2009 02:29 AM
Re: DNS issue
[root@blrdns named]# cat /etc/named.conf
options {
directory "/var/named";
};
zone "oesblr.nsn-rdnet.net" {
type master;
file "oesblr.nsn-rdnet.zone";
};
zone "131.58.10.in-addr.arpa" {
type master;
notify no;
allow-query { any; };
file "131.58.10.db";
};
-------------------------------------------
[root@blrdns named]# cat /var/named/oesblr.nsn-rdnet.zone
$TTL 86400
@ IN SOA oesblr.nsn-rdnet.net. root. (
535 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS oesblr.nsn-rdnet.net.
blrdns IN A 10.58.131.246
vm131x185 IN A 10.58.131.185
--------------------------------------------
[root@blrdns named]# cat 131.58.10.db
$TTL 86400
131.58.10.in-addr.arpa. IN SOA blrdns.oesblr.nsn-rdnet.net. root. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
NS oesblr.nsn-rdnet.net
246 IN PTR blrdns.oesblr.nsn-rdnet.net.
185 IN PTR vm131x185.oesblr.nsn-rdnet.net.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2009 04:16 AM
12-29-2009 04:16 AM
Re: DNS issue
What is your /etc/nsswitch.conf file says about "host"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2009 06:41 AM
12-29-2009 06:41 AM
Re: DNS issue
hosts dns files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2009 07:17 AM
12-29-2009 07:17 AM
Re: DNS issue
and ping by IP has no delay?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2009 08:15 PM
12-29-2009 08:15 PM
Re: DNS issue
But it is not showing hostname while pingigng with IP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2009 11:26 PM
12-29-2009 11:26 PM
Re: DNS issue
weird.
what is your resolv.conf? do you have just one DNS server into it ?
>But it is not showing hostname while >pingigng with IP.
it's OK - normal ping behaviour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2009 12:50 AM
12-30-2009 12:50 AM
Re: DNS issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2009 01:51 AM
12-30-2009 01:51 AM
Re: DNS issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2009 08:11 PM
12-30-2009 08:11 PM
Re: DNS issue
Thanks for your support, It worked halfway.
After stopping of avahi-daemon it is pinging immediatly for the same network but it takes 10 seconds time to ping to other networks.
For exmple,
My name server IP is 10.58.131.246
If I ping some machine in the same network it pings very fast but If I ping some other VLAN for example 10.58.121.xxx then it takes same old 10 seconds time to ping.
I have checked the route, it is alredy there.
Can ypou please help.
Also the reverse lookup is also not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2009 02:14 AM
12-31-2009 02:14 AM
Solutionweird! did you try to ping by IP and it worked fast?
and regarding reverse lookup - do you see any errors from named into syslog?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2009 02:17 AM
12-31-2009 02:17 AM
Re: DNS issue
There was a problem in reverse lookup.
I have corrected it , It is working fine now.
But what is this avahi-daemon is it required for machine.
Thank you very much for the support on time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2009 06:04 AM
12-31-2009 06:04 AM
Re: DNS issue
>I have corrected it , It is working fine >now.
do you mean that it's fixed lookup problem, not ping?
>But what is this avahi-daemon is it >required for machine.
As far as I understand - avahi is useless in static server environment, it should help for client configurations. I haven't investigated this issue in-depth - probably tweaking avahi configuration will help...
you're welcome!