ISPConfig DNS problem

Discussion in 'General' started by asgare, Nov 29, 2023.

  1. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    The current problem seems to be that the nameserver is not reachable on port 53:
    Code:
    thom@Thoms-MBP dir % telnet 2.186.123.193 53
    Trying 2.186.123.193...
    telnet: connect to address 2.186.123.193: Operation timed out
    telnet: Unable to connect to remote host
    
    So check your firewall.
     
    asgare likes this.
  2. michelangelo

    michelangelo Active Member

    Telnet won't work here since DNS is UDP-based and not TCP.
    OP may better use netcat/nc to check if the port is reachable by executing:
    Code:
    nc -u <host> <port>
     
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    For DNS, both TCP and UDP shall be open so telnet will work.
     
    michelangelo and pyte like this.
  4. asgare

    asgare Member

    that's because I removed all DNS and created it again. maybe within that moment, you did the test.
     
  5. asgare

    asgare Member

    I deleted all and recreated again to find the problem but the issue persists.
    upload_2023-12-11_15-37-42.png

    the funny thing is that when go with ns1.iibi.ir can reach the Apache web server.
     
  6. pyte

    pyte Well-Known Member HowtoForge Supporter

    No. What @Th0m checked is if the server with the IP 2.186.123.193, which is your nameserver, is connectable on port 53 and it still is not. You don't need any zones/records to test this. We can't connect from external locations to your DNS server on port 53, which means it's not gonna work.

    So either within ISPConfig in the configuration for the system, you did not open port 53 for your DNS servers or any firewall in between your server and the internet is not letting that traffic through - or the DNS server isn't running at all.
     
    asgare and Th0m like this.
  7. michelangelo

    michelangelo Active Member

    You are right about TCP, although UDP is the default and prefered protocol for DNS.
     
    asgare likes this.
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    asgare likes this.
  9. asgare

    asgare Member

    appreciate guys,
    the problem is solved.
    due to new settings applied in ISP, some ports such as 53 were closed. Appreciate your help.
     
    Th0m likes this.
  10. asgare

    asgare Member

    thanks bro
     

Share This Page