Solved

DNS Setup using Webmin and Bind on Linux

Posted on 2004-03-25
3
939 Views
Last Modified: 2011-09-20
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!
0
Comment
Question by:hcblue
  • 2
3 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 10690041
> 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
 

Author Comment

by:hcblue
ID: 10690256
>> 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
 
LVL 51

Accepted Solution

by:
ahoffmann earned 500 total points
ID: 10695423
> 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

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 155
How to identify SSH user interactive login? 15 78
Cron jobs 12 128
Virtual Firewall to Filter DHCP Traffic? 23 79
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now