[Pdns-users] Root dns

Pepe Charli ppcharli at gmail.com
Wed Dec 19 12:53:21 UTC 2018


With this configuration

eth0: 10.1.1.1  10.1.1.2
ip route add default via 10.1.1.100 dev eth0 src 10.1.1.1

query-local-address=10.1.1.2

What IP would take  10.1.1.1 or 10.1.1.2?

Thanks,

El mié., 19 dic. 2018 a las 12:19, <sthaug at nethelp.no> escribió:

> >    Which source ip address does pdns-recursor use to contact root dns?
>
> Have you tried to read the PowerDNS recursor documentation? From the
> recursor.conf file:
>
> #################################
> # query-local-address   Source IP address for sending queries
> #
> # query-local-address=0.0.0.0
>
> #################################
> # query-local-address6  Source IPv6 address for sending queries. IF UNSET,
> IPv6 WILL NOT BE USED FOR OUTGOING QUERIES
> #
> # query-local-address6=
>
> Thus the default address used for outgoing queries is the one chosen
> by the operating system.
>
> >     Can you specify a specific source ip?
>
> Yes, by explicitly setting query-local-address / query-local-address6.
>
> Steinar Haug, AS2116
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20181219/6ab96a4e/attachment.html>


More information about the Pdns-users mailing list