Re: DNS in CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@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@xxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux