DNS Setup using Webmin and Bind on Linux

Hi all,

I'm pretty new at DNS itself, so apologies if I don't really know much or am really slow.

Earlier this week, I set up Webmin (currently running if I access it by IP address) on a virtual server plan I bought, and I've got BIND 8 (Webmin-Bind8 module). It's all running, and I'm on basic configuration. I tried looking around, for answers, and read posts in some forums and also HOW-TO documents. I'm just totally confused.

The virtual server comes with 3 IP addresses: x.y.z.61, x.y.z.62, and x.y.z.63 (x.y.z being substituted). All of which are working. I've set up the box which listens on all three IP addresses and the hostname is blue.likuid.net. The thing is, I don't know how to proceed.

My BIND had 4 default master zones (0, 127, 255, localhost) and 1 default root zone. So, as I've read, I added a new master zone. I entered the domain name likuid.net with master server blue.likuid.net and confirmed I wanted it to be created. And so, Webmin created the master zone which contains one NS entry.

I'm not sure now. Will blue.likuid.net be my DNS? Or will I need to set up? Can someone give me steps, or at least, hints where to go? Should I create two A entries like... red.likuid.net with IP x.y.z.62 and green.likuid.net with IP x.y.z.63? So is blue.likuid.net just a dummy hostname? I would actually prefer not to use blue.likuid.net as a DNS, and have red and green as the DNS (or some other name when I get more creative).

I kind of think I would need to do the latter (two A entries), and then run an Apache on x.y.z.61 and add an A entry: likuid.net to x.y.z.61.

Also, would I need to add an A entry in the likuid.net master zone for localhost as well?

Any comments, especially directions, would be greatly appreciated. I have another question about the PTR stuff, but I don't know if I should be worrying about it right now.

Thanks in advance!
hcblueAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ahoffmannConnect With a Mentor Commented:
> What does blue.likuid.net act as?
as whatever you like to act as
> Do I restrict BIND to listen to one IP or leave it listening to all three?
do as you want, the default is to listen on all interfaces/IPs
> How can I restrict BIND so that it can know if it's handling as the first NS, or the second NS?
think your're mis-understanding something here.
first and second NS are 2 different NS servers (software).
While you have BIND listening on 2 IPs , it's the same.
Anyway in named.conf you can write:
  options { listen-on { 1.2.3.4; 5.6.7.8; }; };
> would I need to add an A entry
if you need it, yes.
i.g. you always have an A and a PTR for each host, otherwise your DNS is incomplete.

> I don't know where to begin
  1. ps ax|grep named
  2. grep named /var/log/messages
  3. cat /etc/resolv.conf
  4. nslookup localhost
  5. nslookup blue.likuid.net
0
 
ahoffmannCommented:
> Should I create two A entries like... red.likuid.net with IP x.y.z.62 and green.likuid.net with IP x.y.z.63?
yes.
> So is blue.likuid.net just a dummy hostname?
no.
> Also, would I need to add an A entry in the likuid.net master zone for localhost as well?
not realy

after appliying your changes, you should be able to test with nslookup or dig
0
 
hcblueAuthor Commented:
>> So is blue.likuid.net just a dummy hostname?
>no.

:( So do I add an A entry? PTR? NS? What does blue.likuid.net act as? Do I restrict BIND to listen to one IP or leave it listening to all three? I mean... there is only one box, with three IPs. How can I restrict BIND so that it can know if it's handling as the first NS, or the second NS?

>> Also, would I need to add an A entry in the likuid.net master zone for localhost as well?
>not realy

Not really?

> after appliying your changes, you should be able to test with nslookup or dig

Unfortunately, like I previously mentioned, I'm really really really REALLY blind about all of this. I know I can check, but I've been adding deleting stuff and restarting BIND countless times, I'm just not getting it. Frankly, I don't know where to begin. =\
0
All Courses

From novice to tech pro — start learning today.