Bind HOST works but cannot ping
I am using CentOS release 5.5 (Final),bind-9.3.6-20.P1.el5_8.5 as my DNS server and using Ubuntu 12.04 on my desktop. I created my forward zone lookup file along with the reverse. I can successfully use host using the ip address and or hostname:
Code:
host 10.7.0.46 Code:
host Centos.NM.testnetwork.local Code:
ping Centos.NM.testnetwork.local Code:
[root@Centos ~]# cat /var/named/chroot/etc/named.caching-nameserver.conf |
What's in /etc/resolv.conf and /etc/nsswitch.conf?
|
Thanks for the reply.
The /etc/resolv.conf and /etc/nsswitch.conf from my local machine(Ubuntu 12.04). resolv.conf Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) Code:
passwd: compat Code:
ping Centos.NM.testnetwork Code:
ping Centos.NM.testnetwork.local |
So it appears that I can ping everything using the name for example:
Domain: testnetwork Hosts: dojo1.testnetwork Centos.NM.testnetwork redhat.5.5.32Bit.testnetwork and dojo1 Centos.NM redhat.5.5.32Bit but not: dojo1.testnetwork.local Centos.NM.testnetwork.local redhat.5.5.32Bit.testnetwork.local It must be a configuration that I am missing??? |
It appears to be an Ubuntu 12.04 issue using dnsmasq:
https://bugs.launchpad.net/ubuntu/+s...sq/+bug/998712 I used a Red Hat Enterprise Linux Server release 6.2 (Santiago) and configured the same DNS stuff and it work like a charm: Code:
[root@redhat ~]# ping WIN8-141.testnetwork.local |
All times are GMT -5. The time now is 03:41 AM. |