Bind Conf

Jay Berryman jay.berryman at sitel.com
Fri Jan 7 19:52:55 UTC 2005


I've tried both.  One thing I just noticed, is when I run a netstat -ap, it
lists the first few lines, hangs for a while, and then finishes up.  It
appears that it is hanging on the socket that bind is listening on.  Once I
shut down named, the netstat command no longer hangs.  

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Schott, Erik J Mr ANOSC/FCBS
Sent: Friday, January 07, 2005 13:37
To: General Red Hat Linux discussion list
Subject: RE: Bind Conf

Have you tried nslookup, or dig?

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Jay Berryman
Sent: Friday, January 07, 2005 12:04 PM
To: General Red Hat Linux discussion list
Subject: RE: Bind Conf


Here is the output from /var/log/messages:

Named[1689]: starting Bind 9.2.2-P3 -u named -t /var/named/chroot
Named[1689]: using 1 CPU
Named[1689]: loading configuration from '/etc/named.conf'
Named[1689]: no IPv6 interfaces found
Named[1689]: listening on IPv4 interface lo, 127.0.0.1#53
Named[1689]: listening on IPv4 interface eth0, 10.251.32.61#53
Named[1689]: command channel listening on 127.0.0.1#953

Here is my /etc/named.conf file:

options {
        directory "/var/named";
};

zone "." IN {
        type hint;
        file "named.ca";
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};

zone "somedomain.net." IN {
        type master;
        file "somedomain.net.zone";
};

zone "51.24.206.in-addr.arpa" IN {
        type master;
        file "51.24.206.in-addr.arpa.zone";
};

Here is my /var/named/somedoamin.net.zone file:

$TTL 86400

@       IN      SOA     dnsserver.somedomain.net.
root.dnsserver.somedomain.net. (
                        20050107 ; Serial
                        28800   ; Refresh
                        14400   ; Retry
                        3600000 ; Expire
                        0 )     ; Negative

@       IN      NS      dnsserver.somedomain.net.

@       IN      A       10.251.32.61

someserver      IN      A       206.24.51.xx

Here is my /var/named/51.24.206.in-addr.arpa.zone file:

$TTL 86400

@       IN      SOA     dnsserver.somedomain.net.
root.dnsserver.somedomain.net. (
                                20050108 10800 3600 604800 86400 )

@       IN      NS      dnsserver.somedomain.net.

xx.51.24.206.IN-ADDR.ARPA       IN      PTR     someserver.somedomain.net.

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Schott, Erik J Mr ANOSC/FCBS
Sent: Friday, January 07, 2005 12:32
To: General Red Hat Linux discussion list
Subject: RE: Bind Conf

Hi Jay.  When you restart RedHat do you see any messages regarding bind in
the output?  Eyeball the entries in your named.conf file and bounce them
against the file names in /var/named to see if they match.  Also,
double-check the entries in your files in /var/named.

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Jay Berryman
Sent: Friday, January 07, 2005 11:25 AM
To: General Red Hat Linux discussion list
Subject: RE: Bind Conf


I am still getting the same error message.

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Jay Berryman
Sent: Friday, January 07, 2005 12:23
To: General Red Hat Linux discussion list
Subject: RE: Bind Conf

I shut off iptables on both the DNS server and the client.

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Benjamin J. Weiss
Sent: Friday, January 07, 2005 12:21
To: General Red Hat Linux discussion list
Subject: Re: Bind Conf

Jay Berryman wrote:

>I am trying to setup a primary DNS server and am having issues getting
>responses from the DNS server.  When I try the following command "host
>servername" I get the following message:  connection timed out; no servers
>could be reached.  I have confirmed that the DNS server is listening on
port
>53/tcp and /udp.  I also do not see any error messages in
/var/log/messages.
>Can someone give me an idea as to what I am doing wrong?  Thanks for you
>assistance.
>
>  
>
Have you made sure that you have those ports open on iptables?

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list