can named listen to other port not 53 / some dnsmasq question.

Paul Howarth paul at city-fan.org
Wed May 17 08:08:14 UTC 2006


On Tue, 2006-05-16 at 22:55 -0700, M E Fieu wrote:
> Hi.. how to make named listening on port 53 of eth0:1
> 
> and how to make named listening to on a non-standard localnet address like 127.0.0.2

In the "options" clause of /etc/named.conf, add:

listen-on { ip.addr.1; ip.addr.2; };

where ip.addr.1 and ip.addr.2 are the addresses you want named to listen
on. You can use as many as you like. So to listen on just 127.0.0.2,
you'd have:

options {
	...
	... other options
	...
	listen-on { 127.0.0.2; };
};

Paul.




More information about the fedora-list mailing list