How to open bind in iptables?

Discussion in 'Server Operation' started by freesqrt, Feb 13, 2011.

  1. freesqrt

    freesqrt New Member


    Recently I have a problem with my bind 8. when the iptables in flashed, the clients can resolve addresses with no problem but when iptables is up, I get "request time out"!!!
    I wonder why in the second state, client get "server: unknown" message!!

    How can I open the correspondent ports to serve DNS clients?

  2. falko

    falko Super Moderator ISPConfig Developer

    You must open port 53 (TCP and UDP!).
  3. freesqrt

    freesqrt New Member

    Thank you Falko,

    I open these and now bind resolves its own zones addresses pretty well.
    But as before I have a lot of logs like this in /var/log/message:

    too many timeouts resolving '' (in ''?): disabling EDNS
    too many timeouts resolving '' (in ''?): disabling EDNS

    what you think about the problem?

    Also other domains like can't be resolved and "query refused" returned!!!

  4. alleks

    alleks Member

    First of all, could you try to update to bind9? I'm just saying, you're using a old and insecure version of bind, try to update.

Share This Page