hcblue
asked on
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!
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!
ASKER
>> 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. =\
>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. =\
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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