I'm trying to setup a basic DNS server with Bind 9. I have found a few
tutorials online, and tried to step through them, but either I'm very dense
(which is likely), or I'm missing some basic info these tutorials assume is
known. To make matters worse, I think I need to dynamically modify my
master record (to reflect my dynamic IP). Anyone care to help?
Here's what I've completed so far:
1. Edited hosts.conf to change the order to bind,hosts
2. Added the following record to named.conf:
zone "mydomain.com." {
type master;
file "mydomain.com";
};
(I don't think I need a reverse lookup at this point - and will worry
about that later I think....)
3. I copied the localhost.zone file to mydomain.com. Then edited that file
to reflect my domain name and IP address. (I can email this file to you if
it'll help). However, I'm not completely clear on what should be in this
file. I'd assume a name to IP mapping is in order, by the samples I've
found aren't very clear to a DNS newbie.
I doubt my configuration would run right, so I haven't yet tried it. I'm
hoping one of the "guru's" here can help out.
Oh, if it helps, the server is a RH8 box, with a minimal install (no X
windows). I may not have all the required utilities installed either -
dnsconf appears to be missing. But I don't think it's 100% needed either.
Thanks in advance for any help.
Shawn