On Sat, 01 Nov 2008 22:25:35 GMT, ToddAndMargo wrote:
> Hi All,
>
> I think this is a resolv.conf issue, but
> I could be wrong now.
>
> I have a CentOS 5.2 server with two network cards:
> eth0: 192.168.255.10 connects to internal private network
> eth1: firewalled to the internet (iptables)
>
> The server acts as the gateway and firewall to
> the Internet. The server has its own DNS (bind/named).
No forwarders in /named.conf or named not running or zone setting invalid.
You might run named-checkconf.
On my Mandriva linux the commands would be
$ hostname
wm81.home.test
$ hostname --ip-address
192.168.1.131
named-checkconf -t /var/lib/named /etc/named.conf
named-checkzone -t /var/lib/named/var/named/master home.test home.zone
named-checkzone -t /var/lib/named/var/named/reverse 1.168.192.in-addr.arpa home.reversed
My named.conf changes
dif /var/lib/named/etc/named.conf_orig /var/lib/named/etc/named.conf
44c44
< // forwarders { first_public_nameserver_ip; second_public_nameserver_ip; };
---
> forwarders { 208.67.222.222; 208.67.220.220; };
139a140,152
>
> zone "home.test" IN {
> type master;
> file "master/home.zone";
> allow-update { none; };
> };
>
> zone "1.168.192.in-addr.arpa" IN {
> type master;
> file "reverse/home.reversed";
> allow-update { none; };
> };
|