[CentOS] DNS in CentOS
Les Mikesell
lesmikesell at gmail.com
Tue Apr 1 22:09:29 UTC 2008
vincenzo romero wrote:
>
> 1. ping/nslookup from myhost.lab.company.com
> - /etc/resolv.conf -->
> search lab.company.com
> nameserver 127.0.0.1
> ping ns
> ping: unknown host ns
> [root at myhost named]# ping ns.company.com
But your resolv.conf says to look for ns.lab.company.com.
> 2. ping/nslookup from workstation in company.com
> - /etc/resolv.conf -->
> search company.com
> nameserver 10.100.1.24
>
> ping myhost
> ping: unknown host myhost
> png myhost.lab.company.com
> PING myhost.lab.company.com (192.168.17.2)56(84) bytes of data.
And this is the other way around. resolv.conf say to add company.com but
you are adding lab.company.com.
> i have created a FORWARD zone for "mycompany.com" ... snippet of
> /etc/named.conf:
>
>
> zone "mycompany.com." IN {
> type forward;
> forwarders { 10.100.1.24 port 53;
> };
Is this supposed to have something to do with either company.com or
lab.company.com? It doesn't. And is there some reason you only want
the forwarder to only handle one zone?
--
Les Mikesell
lesmikesell at gmail.com
More information about the CentOS
mailing list