Web Hosting Talk







View Full Version : How to make DNS listen on specific IP address?


dabystru
04-17-2001, 01:06 PM
Hello,

I have Cobalt RaQ 4 with Rackshack and I decided to host my own primary and secondary DNS on this machine.

I got 2 additional IP addresses from Rackshack for primary and secondary DNS. From Cobalt control panel I setup DNS for a number of domains, it was pretty straightforward.

Now, how do I bind 2 IP addresses I got for DNS to my actual named server? /sbin/ifconfig shows that I have 3 IPs attached to eth0, eth0:0 and eth0:1 interfaces. How do I make primary DNS to listen on eth0:0 and secondary DNS - on eth0:1?

In named manpage there was a mention of 'listen-on' option of named.conf file, but no any explanation how to use it. I am not even sure if it is the one I need to use.

dabystru
04-17-2001, 02:04 PM
All right, I found the answer myself:

http://list.cobalt.com/pipermail/cobalt-users/2001-March/036214.html

(in case anyone else will have the same problem)