Configuring Bind.

Cricket Liu cricket at nxdomain.com
Tue Jan 28 05:28:12 UTC 2003



On Monday, January 27, 2003, at 10:25  PM, Manjunath H N wrote:

> I am configuring a DNS server for our LAN, this is what I put in my 
> /etc/named.conf for the domain abc.net
>
> The host name is server.abc.net
>
> zone "abc.net" {
>         type master;
>         notify no;
>         file "iwave.net";
> };
>
> This is my zone file for abc.net
>
> $TTL 3D
> @       IN      SOA     ns.server.abc.net. manjunath.server.abc. (
>                         199802151       ; serial, todays date + todays 
> serial #
>                         8H              ; refresh, seconds
>                         2H              ; retry, seconds
>                         4W              ; expire, seconds
>                         1D )            ; minimum, seconds
> ;
>                 NS      ns              ; Inet Address of name server
>                 MX      10 server.abc.net.     ; Primary Mail Exchanger
> ;
> localhost       A       127.0.0.1
>
> abc.net         A       192.168.2.37
>
> ns                A       192.168.2.37
>
> mail            CNAME   192.168.2.37
>
> gw              A       192.168.2.254
>
> www           CNAME   ns
>
> mail           CNAME   192.168.2.37
>                  MX      10 server.abc.net
>
> ftp             CNAME   192.168.2.37
>                 MX      10 server.abc.net

Both mail.abc.net and ftp.abc.net own CNAME records and other
types of records, which is illegal.  You name server is also logging
this to syslog.  You should always look at your name server's
syslog output when you add a new zone or reload a modified zone.

cricket



More information about the bind-users mailing list