LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Domain NS records are wrong for my new domain (https://www.linuxquestions.org/questions/linux-networking-3/domain-ns-records-are-wrong-for-my-new-domain-4175720199/)

YuGiOhJCJ 12-25-2022 09:12 PM

Domain NS records are wrong for my new domain
 
Hello,

I own a DNS server (using Bind) and a domain "yugiohjcj.cf" (registered on Freenom).
This DNS server is configured for the domain "yugiohjcj.cf":
Code:

$ cat /etc/named.conf
[...]
zone "yugiohjcj.cf" IN {
        type master;
        file "yugiohjcj.cf/yugiohjcj.cf.zone";
        allow-update { none; };
};
[...]

On intoDNS, I can see this for "yugiohjcj.cf":
Code:

Domain NS records        Nameserver records returned by the parent servers are:

ns1.yugiohjcj.cf.  ['82.65.164.110']  [TTL=300]
ns2.yugiohjcj.cf.  ['82.65.164.110']  [TTL=300]

a.ns.cf was kind enough to give us that information.

It's working fine like that since a long time.

Recently, I got the domain "yugiohjcj.tk" (registered on Freenom).
So, I edited my DNS server configuration to add the domain "yugiohjcj.tk":
Code:

$ cat /etc/named.conf
[...]
zone "yugiohjcj.cf" IN {
        type master;
        file "yugiohjcj.cf/yugiohjcj.cf.zone";
        allow-update { none; };
};
zone "yugiohjcj.tk" IN {
        type master;
        file "yugiohjcj.tk/yugiohjcj.tk.zone";
        allow-update { none; };
};
[...]

On intoDNS, I can see this for "yugiohjcj.tk":
Code:

Domain NS records        Nameserver records returned by the parent servers are:

ns01.freenom.com.  ['54.171.131.39'] (NO GLUE)  [TTL=300]
ns02.freenom.com.  ['52.19.156.76'] (NO GLUE)  [TTL=300]
ns03.freenom.com.  ['104.155.27.112'] (NO GLUE)  [TTL=300]
ns04.freenom.com.  ['104.155.29.241'] (NO GLUE)  [TTL=300]

a.ns.tk was kind enough to give us that information.

As you can see the Domain NS records are wrong.
I would like to have something similar to my old "yugiohjcj.cf" domain.

Do you know what's the problem please?

Thank you.
Best regards.

YuGiOhJCJ 12-25-2022 09:36 PM

OK it's fixed!
On intoDNS, I can see this for "yugiohjcj.tk":
Code:

Domain NS records        Nameserver records returned by the parent servers are:

ns1.yugiohjcj.tk.  ['82.65.164.110']  [TTL=300]
ns2.yugiohjcj.tk.  ['82.65.164.110']  [TTL=300]

a.ns.tk was kind enough to give us that information.

In fact, it was a problem on Freenom.
The domain was not correctly configured.
I had to do the following:

1) Services, My Domains, Manage Domain, Management Tools, Register glue records:
ns1.yugiohjcj.tk 82.65.164.110
ns2.yugiohjcj.tk 82.65.164.110

2) Services, My Domains, Manage Domain, Management Tools, Nameservers:
[X] Use custom nameservers (enter below)
Nameserver1: ns1.yugiohjcj.tk
Nameserver2: ns2.yugiohjcj.tk

If you don't do that, exactly in this order, there is an error and the domain is not correctly configured.


All times are GMT -5. The time now is 12:29 AM.