Community discussions

MikroTik App
 
alissonx
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Tue Oct 06, 2009 4:12 pm

REVERSE DNS - HOW BLOCK?

Fri Apr 19, 2013 4:16 pm

My CIDR registrator send me some e-mails with a lot of IP Address from my CIDR, and with the message "The DNS Recursive is opened, please close it".

how can I close recursive dns on mikrotik?

where can I verify if its opened?

thank you
 
CelticComms
Forum Guru
Forum Guru
Posts: 1765
Joined: Wed May 02, 2012 5:48 am

Re: REVERSE DNS - HOW BLOCK?

Fri Apr 19, 2013 4:23 pm

If you need to use the routerboard as a DNS server for LAN clients use input filters in /IP Firewall to block access to the DNS server from the WAN port. Also consider a full security review of your settings because if external access to the DNS server is open it may not be the only problem.
 
alissonx
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Tue Oct 06, 2009 4:12 pm

Re: REVERSE DNS - HOW BLOCK?

Fri Apr 19, 2013 4:31 pm

Hi,

this RB isnt my DNS Server... I just want to block,.. i've tryied to do it,.. but doesnt work.. .look:

/ip firewall filter
add action=drop chain=input comment="DESABILITA DNS RECURSIVO - UDP" disabled=no dst-port=53 in-interface=ether4 protocol=udp
add action=drop chain=input comment="DESABILITA DNS RECURSIVO - TCP" disabled=no dst-port=53 in-interface=ether4 protocol=tcp


but where I can test if this dns is opened?
 
alissonx
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Tue Oct 06, 2009 4:12 pm

Re: REVERSE DNS - HOW BLOCK?

Mon Apr 22, 2013 4:24 pm

somebody knows how to block?
 
CelticComms
Forum Guru
Forum Guru
Posts: 1765
Joined: Wed May 02, 2012 5:48 am

Re: REVERSE DNS - HOW BLOCK?

Mon Apr 22, 2013 4:36 pm

Dropping the traffic should work but it is better to arrange a firewall to permit certain traffic and drop *everything*. If you send me an email with the IPs I will scan them for you to check if they are now blocked.
 
alissonx
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Tue Oct 06, 2009 4:12 pm

Re: REVERSE DNS - HOW BLOCK?

Mon Apr 22, 2013 5:02 pm

look, this firewall rules:

/ip firewall filter
add action=drop chain=input comment="DESABILITA DNS RECURSIVO - UDP" disabled=no dst-port=53 in-interface=ether4 protocol=udp
add action=drop chain=input comment="DESABILITA DNS RECURSIVO - TCP" disabled=no dst-port=53 in-interface=ether4 protocol=tcp


i'm blocking everything on port 53, thats right?

how I can test? with nslookup? or dig?
 
alissonx
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Tue Oct 06, 2009 4:12 pm

Re: REVERSE DNS - HOW BLOCK?

Fri May 03, 2013 4:21 pm

somebody?
 
slawekk
just joined
Posts: 24
Joined: Sun Jan 02, 2011 3:48 pm

Re: REVERSE DNS - HOW BLOCK?

Mon May 06, 2013 3:23 am

lmgtfy.com/?q=nslookup

Who is online

Users browsing this forum: sinateifouri and 196 guests