Hi,
sometimes i’ve got some trouble with DNS …
For example: i can ping the DNS Server but port 53 was not responding …
My idea is, to write a script, that check’s if Server is pingable and when if server responds on requests on port 53.
I tried with netwach, but it’s only send pings
Some ideas ?
Chris
I just finished a script for DNS failover using ‘resolve’ function. Cannot access it actually, but this is what did:
- Define DNS servers to check
- Use do / on error construct to check if resolve delivers a result
- Use first DNS server with successful resolving as system DNS and as DNS server being distributed by DHCP
You can trigger script execution by netwatch and / or time.