Solved

DNS Setup using Webmin and Bind on Linux

Posted on 2004-03-25
3
936 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

861 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

24 Experts available now in Live!

Get 1:1 Help Now