Re: Change DNS records automatically when a link is DOWN
On 05.06.19 12:15, Roberto Carna wrote: - Main site with an Internet link and two BIND services (DNS1 y DNS2) and a /28 block, and web and mail services supported - Backup site with a second Internet link and a BIND service (DNS3) and another /28 block When the Internet link from main site is DOWN, the web and mail traffic come through the backup site to main site crossing a L2L. So I need to change the IP's of the FQDN hosts I have supported in the DNS3 in order to continue offering services (web and mail). How can I do this automatically? Is there any way that "something" monitors the main Internet link and in case it is DOWN automatically order to modify the FQDN records in DNS3 ??? can't your provider set you up a routing failover? While it's doable in DNS, it has some drawbacks (requires short TTL) and mainly: DNS is not designed to do this kind of stuff. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Boost your system's speed by 500% - DEL C:\WINDOWS\*.* ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Change DNS records automatically when a link is DOWN
I guess you need to DNS Sub-domain delegation. On Wed, Jun 5, 2019 at 8:51 PM Kevin Darcy wrote: > Publish all 3 NSes. > > Publish MX records with primary/failover preferencing. > > Use a load-balancer (free or commercial, software/hardware/cloud-based) to > direct the web traffic. > > - Kevin > > On Wed, Jun 5, 2019 at 11:16 AM Roberto Carna > wrote: > >> Dear people, I have two sites: >> >> - Main site with an Internet link and two BIND services (DNS1 y DNS2) and >> a /28 block, and web and mail services supported >> - Backup site with a second Internet link and a BIND service (DNS3) and >> another /28 block >> >> When the Internet link from main site is DOWN, the web and mail traffic >> come through the backup site to main site crossing a L2L. So I need to >> change the IP's of the FQDN hosts I have supported in the DNS3 in order to >> continue offering services (web and mail). How can I do this automatically? >> Is there any way that "something" monitors the main Internet link and in >> case it is DOWN automatically order to modify the FQDN records in DNS3 ??? >> >> Thanks a lot and regards!!! >> ___ >> Please visit https://lists.isc.org/mailman/listinfo/bind-users to >> unsubscribe from this list >> >> bind-users mailing list >> bind-users@lists.isc.org >> https://lists.isc.org/mailman/listinfo/bind-users >> > ___ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users > ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Change DNS records automatically when a link is DOWN
Publish all 3 NSes. Publish MX records with primary/failover preferencing. Use a load-balancer (free or commercial, software/hardware/cloud-based) to direct the web traffic. - Kevin On Wed, Jun 5, 2019 at 11:16 AM Roberto Carna wrote: > Dear people, I have two sites: > > - Main site with an Internet link and two BIND services (DNS1 y DNS2) and > a /28 block, and web and mail services supported > - Backup site with a second Internet link and a BIND service (DNS3) and > another /28 block > > When the Internet link from main site is DOWN, the web and mail traffic > come through the backup site to main site crossing a L2L. So I need to > change the IP's of the FQDN hosts I have supported in the DNS3 in order to > continue offering services (web and mail). How can I do this automatically? > Is there any way that "something" monitors the main Internet link and in > case it is DOWN automatically order to modify the FQDN records in DNS3 ??? > > Thanks a lot and regards!!! > ___ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users > ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Change DNS records automatically when a link is DOWN
If you can craft the monitor for the link it could call nsupdate to make the change On Wed, Jun 5, 2019, 11:16 AM Roberto Carna wrote: > Dear people, I have two sites: > > - Main site with an Internet link and two BIND services (DNS1 y DNS2) and > a /28 block, and web and mail services supported > - Backup site with a second Internet link and a BIND service (DNS3) and > another /28 block > > When the Internet link from main site is DOWN, the web and mail traffic > come through the backup site to main site crossing a L2L. So I need to > change the IP's of the FQDN hosts I have supported in the DNS3 in order to > continue offering services (web and mail). How can I do this automatically? > Is there any way that "something" monitors the main Internet link and in > case it is DOWN automatically order to modify the FQDN records in DNS3 ??? > > Thanks a lot and regards!!! > ___ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users > ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Change DNS records automatically when a link is DOWN
Dear people, I have two sites: - Main site with an Internet link and two BIND services (DNS1 y DNS2) and a /28 block, and web and mail services supported - Backup site with a second Internet link and a BIND service (DNS3) and another /28 block When the Internet link from main site is DOWN, the web and mail traffic come through the backup site to main site crossing a L2L. So I need to change the IP's of the FQDN hosts I have supported in the DNS3 in order to continue offering services (web and mail). How can I do this automatically? Is there any way that "something" monitors the main Internet link and in case it is DOWN automatically order to modify the FQDN records in DNS3 ??? Thanks a lot and regards!!! ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users