Currently we have different IP addresses when using wired(Ethernet) and WiFi. I would like sssd to refresh its DDNS record whenever I switch between wired and WiFi, is this possible? So far I have only managed to refresh DDNS by restarting sssd but maybe there is a better way?
Jocke
On (23/08/16 15:35), Joakim Tjernlund wrote:
Currently we have different IP addresses when using wired(Ethernet) and WiFi. I would like sssd to refresh its DDNS record whenever I switch between wired and WiFi, is this possible? So far I have only managed to refresh DDNS by restarting sssd but maybe there is a better way?
The option dyndns_iface might help. @see man sssd-ad -> dyndns_iface
dyndns_iface (string) Optional. Applicable only when dyndns_update is true. Choose the interface or a list of interfaces whose IP addresses should be used for dynamic DNS updates. Special value “*” implies that IPs from all interfaces should be used.
Default: Use the IP addresses of the interface which is used for AD LDAP connection
Example: dyndns_iface = em1, vnet1, vnet2
LS
On Tue, 2016-08-23 at 18:26 +0200, Lukas Slebodnik wrote:
On (23/08/16 15:35), Joakim Tjernlund wrote:
Currently we have different IP addresses when using wired(Ethernet) and WiFi. I would like sssd to refresh its DDNS record whenever I switch between wired and WiFi, is this possible? So far I have only managed to refresh DDNS by restarting sssd but maybe there is a better way?
The option dyndns_iface might help. @see man sssd-ad -> dyndns_iface
dyndns_iface (string) Optional. Applicable only when dyndns_update is true. Choose the interface or a list of interfaces whose IP addresses should be used for dynamic DNS updates. Special value “*” implies that IPs from all interfaces should be used.
Default: Use the IP addresses of the interface which is used for AD LDAP connection
Example: dyndns_iface = em1, vnet1, vnet2
Tested with dyndns_iface = eth0, wlan0 and it works most of the time, thanks.
Jocke
sssd-users@lists.fedorahosted.org