Community discussions

MikroTik App
 
stricky
just joined
Topic Author
Posts: 12
Joined: Tue Aug 19, 2014 2:46 pm

DNS Trouble

Tue Nov 07, 2017 9:11 am

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
 
whitbread
Member Candidate
Member Candidate
Posts: 119
Joined: Fri Nov 08, 2013 9:55 pm

Re: DNS Trouble

Tue Nov 07, 2017 8:12 pm

I just finished a script for DNS failover using 'resolve' function. Cannot access it actually, but this is what did:
1. Define DNS servers to check
2. Use do / on error construct to check if resolve delivers a result
3. 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.

Who is online

Users browsing this forum: No registered users and 8 guests