Re: [Pdns-users] listen on net iface

2023-07-28 Thread Brian Candler via Pdns-users

On 28/07/2023 10:07, Klaus Darilion via Pdns-users wrote:

PS: This sound like you want to run PDNS in an active-standby HA-setup with a 
"hot" standby


If it were me, I'd have a pair of dnsdist instances (with the floating 
IP moving between those), which in turn point to the real servers behind.


This has a number of advantages:

- active-active operation (load-sharing)
- can scale to more than 2 back-end servers
- actively sends test DNS queries to each backend every second, and 
takes unresponsive ones out of the pool

- provides lots of metrics 
- binding to an interface name instead of IP is apparently supported 
:


/On recent Linux versions specifying the interface via 
the//|interface|//parameter should work as well./


The issues Klaus raised around master/slave operation still require care 
of course. If you're using native mode with SQL-level replication, 
things may be simpler.
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] listen on net iface

2023-07-28 Thread Klaus Darilion via Pdns-users
PS: This sound like you want to run PDNS in an active-standby HA-setup with a 
"hot" standby. But if this PDNS instance has SLAVE and MASTER zones configure, 
it will peform slave-checks and master-checks and writes into the backend 
(which may be a database). To avoid issues with multiple PDNS processes writing 
into a single DB you can configure your HA manager to start PDNS only once the 
floating IP is migrated to the standby server.

regards
Klaus

-- 
Klaus Darilion, Head of Operations
nic.at GmbH, Jakob-Haringer-Straße 8/V
5020 Salzburg, Austria

> -Ursprüngliche Nachricht-
> Von: Pdns-users  Im Auftrag von
> Klaus Darilion via Pdns-users
> Gesendet: Freitag, 28. Juli 2023 09:19
> An: pdns-users@mailman.powerdns.com
> Cc: Klaus Darilion 
> Betreff: Re: [Pdns-users] listen on net iface
> 
> Configure pdns to listen to the floating IP and set
> net.ipv4.ip_nonlocal_bind.
> Klaus
> 
> 
> Gesendet über BlackBerry Work (www.blackberry.com)
> 
> 
> Von: Pdns-users  im Namen von
> lejeczek via Pdns-users 
> Gesendet: 28.07.2023 06:05
> An: pdns-users@mailman.powerdns.com
> Cc: lejeczek 
> Betreff: [Pdns-users] listen on net iface
> 
> 
> Hi guys.
> 
> Would you know if it's possible to have _pdns_ to listen on an net iface
> instead of an IP?
> eg. eth0 - such interface would not be fully initialized, configured,
> meaning not IP config.
> Case is such where so called floating-IP travels from node to node but
> _pdns_ would be able to bind to such iface before IP bits get there.
> 
> many thanks, L.

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] listen on net iface

2023-07-28 Thread Klaus Darilion via Pdns-users
Configure pdns to listen to the floating IP and set net.ipv4.ip_nonlocal_bind.
Klaus


Gesendet über BlackBerry Work (www.blackberry.com)

Von: Pdns-users  im Namen von lejeczek 
via Pdns-users 
Gesendet: 28.07.2023 06:05
An: pdns-users@mailman.powerdns.com
Cc: lejeczek 
Betreff: [Pdns-users] listen on net iface

Hi guys.

Would you know if it's possible to have _pdns_ to listen on an net iface 
instead of an IP?
eg. eth0 - such interface would not be fully initialized, configured, meaning 
not IP config.
Case is such where so called floating-IP travels from node to node but _pdns_ 
would be able to bind to such iface before IP bits get there.

many thanks, L.
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] listen on net iface

2023-07-27 Thread lejeczek via Pdns-users

Hi guys.

Would you know if it's possible to have _pdns_ to listen on 
an net iface instead of an IP?
eg. eth0 - such interface would not be fully initialized, 
configured, meaning not IP config.
Case is such where so called floating-IP travels from node 
to node but _pdns_ would be able to bind to such iface 
before IP bits get there.


many thanks, L.___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users