The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VPS firewall preventing DNS bind

Discussion in 'Bind / DNS / Nameserver Issues' started by gabrielpasv, Oct 11, 2011.

  1. gabrielpasv

    gabrielpasv Member

    Joined:
    Aug 2, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    When I disable my firewall (service iptables stop) I am able to see that my VPS IP address and nameservers (ns1 and ns2) has been populate in the world.

    When I turn on my firewall (service iptables start) the IP address and nameservers (ns1 and ns2) does not propagate.

    So it's clearly a firewall issue. I tried to open port 53 but still same think.

    I don't want having my VPS without security.

    I need to know how to best proceed to allow this dns bind traffic through the firewall.


    Thank You Very much for your help!
     
  2. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    If you have issues in IPTables assuming you are on OpenVZ then this must be fixed at the main server not the VM.

    And If you have this issue while using Xen, I suggest you to use CSF instead.

    You could also use CSF in OpenVZ but it needs some configuration in the main server.

    Could you please also provide the ouput of this command with IPTables on?

    PHP:
    lsof grep -iw "named"
    and these commands as well:

    PHP:
    telnet localhost 53
    PHP:
    service named status
     
Loading...

Share This Page