[Pdns-users] Configure PDNS to listen on 2 ip's, but not all?

Daniel Ceregatti daniel at omnis.com
Mon Dec 8 23:30:42 UTC 2003


#################################
# local-address Local IP address to which we bind
#
local-address=216.239.132.98,216.239.132.99,216.239.132.100,216.239.132.101

#################################
# local-ipv6    Local IP address to which we bind
#
local-ipv6=2001:6f8:201:610::1,2001:6f8:201:610::2

lsof -i -n -P | grep pdns | grep LISTEN

pdns_serv  1550     root   10u  IPv4    3302       TCP 216.239.132.98:53
(LISTEN)
pdns_serv  1550     root   11u  IPv4    3303       TCP 216.239.132.99:53
(LISTEN)
pdns_serv  1550     root   12u  IPv4    3304       TCP
216.239.132.100:53 (LISTEN)
pdns_serv  1550     root   13u  IPv4    3305       TCP
216.239.132.101:53 (LISTEN)
pdns_serv  1550     root   14u  IPv6    3306       TCP
[2001:6f8:201:610::1]:53 (LISTEN)
pdns_serv  1550     root   15u  IPv6    3307       TCP
[2001:6f8:201:610::2]:53 (LISTEN)

I think the trick is: commas with no spaces.

Daniel


Norbert Sendetzky wrote:

> On Monday 08 December 2003 18:42, Taylor Dondich wrote:
>
> I have tried to have listen set to a comma deliminated list of
> ip's, but it wasn't able to bind.  What is the proper syntax for
> having powerdns listen on multiple ip's, but not all of them? (bind
> running on 127.0.0.1 and other services on other ips)
>
>
> Commas are not always allowed. Use space instead.
>
>
> Norbert
>

_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


-- 

Daniel Ceregatti - Programmer
Omnis Network, LLC

People seem to enjoy things more when they know a lot of other people
have been left out on the pleasure.
        -- Russell Baker




More information about the Pdns-users mailing list