DNS not responding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

This is more of a networking question, than a redhat specific question, or
dns.  Basically, on my setup, I have an ISDN line, which is connected to a
Cisco router, 10.3.0.1.  This is connected directly to eth1 of my linux box,
which eth1 has the ip address 10.3.0.10.  The other interface, eth0 has IP
address 10.5.0.1, and handles all of my internal stuff, and acts as
firewall/gateway.  I plan to shortly get rid of the ISDN line and Cisco
router, which is why I've moved to this setup.

On the Cisco, I have the following lines:
ip nat inside source static tcp 10.3.0.10 53 12.159.185.248 53 extendable
ip nat inside source static udp 10.3.0.10 53 12.159.185.248 53 extendable

This allows all tcp and udp requests on port 53 to be forwarded to my linux
box.  Now, when I do a dig @12.159.185.248 domain.com, it times out.  When I
check the named logs on my linux box, I can see the query, so I know the
packet is coming in and being forwarded to the box correctly, however the
problem seems to be that the packet is never able to go back out again.
Just for troubleshooting, I added the following to iptables:

-A INPUT -i eth1 -j ACCEPT
-A INPUT -i eth0 -j ACCEPT
-A INPUT -i lo -j ACCEPT

But, it's still unable to send back a response to those queries, no matter
where they come from.  I can also do an nslookup on the linux box fine, so
I'm unsure where the problem could be, any ideas?

Thanks,
Richard



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux