Re: iptables blocks dns

Posted by agriz on 2011/12/8 21:28:12
nicname         43/tcp          whois
nicname         43/udp          whois
whois++         63/tcp
whois++         63/udp
rwhois          4321/tcp                        # Remote Who Is
rwhois          4321/udp                        # Remote Who Is


This is what i run when iptables status is "start"

nslookup my-website.com

Output : 
;; connection timed out; no servers could be reached


nslookup my-ip-address



Server:         4.2.2.2
Address:        4.2.2.2#53

** server can't find xx.xx.xx.xx.in-addr.arpa.: NXDOMAIN


Now i truned of iptables "service iptables stop"

nslookup my-website.com

Output : 
Server:         4.2.2.2
Address:        4.2.2.2#53

Non-authoritative answer:
Name:   webiste.com
Address: my-ip.address

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=55&topic_id=34640&post_id=149000