View previous topic :: View next topic |
Author |
Message |
netamaze n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Apr 2004 Posts: 1
|
Posted: Thu Apr 22, 2004 3:28 pm Post subject: Weird BIND Behavior |
|
|
I have a new Gentoo installation that is having some trouble with BIND. I have iptables running on the box set to allow TCP across port 53. I was setting up some zones and testing them using dig. Everything works normally when I use dig locally, however when I try from a remote location it's not right. If I turn off iptables, all's well. If I turn on iptables, it works fine also for about 5 min. Then, dig will stop working from the outside. If I stop iptables its good again and will work for another 5 min or so after I restart it. However, if I do /etc/init.d/iptables restart dig will never connect. Iptables needs to be stopped for some small amount of time.
I'm at a bit of a loss...any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pakman Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 06 Jan 2004 Posts: 100
|
Posted: Thu Apr 22, 2004 9:10 pm Post subject: |
|
|
Allow UDP aswell, DNS queries use that rather than TCP. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Deathwing00 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1140581890451d29047ad41.jpg)
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Thu Apr 22, 2004 9:39 pm Post subject: |
|
|
UDP port 53 should be set to ACCEPT |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|