Learn about Centmin Mod LEMP Stack today
Become a Member

Domains NSD nameservers not working for latest 07 stable

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Jul 17, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    11:39 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi

    I just install latest 07 Centminmod and it seems that ns1.mydomain.com and ns2.mydomain.com that i was add from nsd menu with correct ip not working :(
    I try and reinstall it but nothing :(


    No way to ping the ns1.mydomain.com :(
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    7:39 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    can you ping other sites ? i.e. google.com ?

    is NSD service running ?

    Code:
    service nsd status
    is CSF Firewall running ? as it has proper whitelisted ports for NSD set

    Code:
    service csf status
    service lfd status
    do you have ns1.domain.com entries for your domain registrar set ? you can use https://www.whatsmydns.net/ to check your domain and select NS from drop down menu to check i.e.

    https://www.whatsmydns.net/#NS/centminmod.com

    This has to be set with your domain registrar first. Part 1 from official site outlines this too http://centminmod.com/nginx_domain_dns_setup.html#dns

    Remember to check your domain name's DNS is properly configured at both your domain registrar & web server end (NSD) by running domain name through these 3 dns test sites

     
    Last edited: Jul 17, 2014
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    11:39 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    service nsd status
    returns nothing :(

    Running this:
    grep 53 /etc/services

    I can see this:
    domain 53/tcp # name-domain server


    for csf i have stop it using csf -s

    do you have ns1.domain.com entries for your domain registrar set ?

    This is not possible if the ns1 and ns2 not responding.On godaddy you can't set them if ping not working for them !
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    7:39 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    did you edit centmin.sh before install to set NSD_DISABLED=y ? you could of disabled NSD post install with that

    to re-enable NSD
    Code:
    service nsd start
    chkconfig nsd on
    and yes if you disable or stop CSF, default iptables will block everything including DNS/port 53 traffic, so need to re-enable CSF Firewall
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    11:39 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    When i run this:
    service nsd start

    I got already running...

    I run also this chkconfig nsd on ....

    I enable csf and i check the config and the port 53 is there:

    # Allow incoming TCP ports
    TCP_IN = "20,21,7192,25,53,80,110,111

    [root@server ~]# nsd -v
    NSD version 3.2.17

    I don't think that NSD 4.0.3 has so much more resource usage to not use it as default :) - (but you know better)
     
    Last edited: Jul 17, 2014
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    11:39 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Can anyone please test it so we can verify the problem and maybe we will have a fix for it?

    Thanks
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    7:39 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    unfortunately don't think many folks use NSD they use 3rd party DNS providers for reliability and uptime
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    11:39 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    As it is included on Centminmod it should work :(
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    7:39 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  10. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    11:39 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Great thanks but the problem is that on Godaddy you can't create nameservers if the ns1 and ns2 are not responding already and my ns1 and ns2 are not working when i try to ping them manually :(
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    7:39 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Maybe you confused creating nameservers with setting up nameservers as they're 2 different things. As creating them can be done without resolving ns1/ns2 otherwise no one would be able to setup new nameservers (vanity or private). You'd want to read Godaddy documentation or ask their tech support
     
  12. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    11:39 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok thanks i will check again :)