DNS : Help

David Botham dns at botham.net
Mon Oct 14 22:02:35 UTC 2002

> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
> Behalf Of Kevin Darcy
> Sent: Monday, October 14, 2002 5:36 PM
> To: bind-users at isc.org
> Subject: Re: DNS : Help
> "Narayan, Krishnan" wrote:
> > Hi : I need help, since i am new to BIND. We have BIND 8.2 running.
> > need to put a entry for MX and A record. I would appreciate the
> The most foolproof way to do this is add a couple lines like:
> foo.example.com. in mx 0 mail.example.com.
> bar.example.com. in a

Did you mean:

mail.example.com	IN	A



> to the appropriate zone file. (Use whatever preference value you
> for the MX record, whatever IP you prefer for the A record, and of
> course whatever names you prefer throughout). Be careful to put a dot
> the end of all names you add, otherwise they might be misinterpreted.
> After you've added the lines, increment the serial number of the zone
> (it's the first numeric field in the SOA record), and then reload or
> restart your nameserver, so that it loads the new version of the zone.
> You would be wise to familiarize yourself with the syntax of zone
> The above syntax is "foolproof", but it's quite verbose, and if you
> always format your resource records this way, your zone file quickly
> becomes unreadable. Once you know what you are doing, in many cases
> should be able to use relative names (e.g. just "foo" instead of
> "foo.example.com.") or under the right circumstances, just
> leading-whitespace, in your resource records. This makes the zonefile
> much easier to read and maintain.
> - Kevin

More information about the bind-users mailing list