Tuesday, December 24, 2019

nameserver - Domain is reporting incorrect Name Server information



I am running a VPS that is hosting five different domains. Everything has been fine until I wanted to use our inactive domain to setup Google for Business Apps. I am unable to verify the domain because the DNS on that one domain is really messed up. To me the setup looks no different than the others that are working fine. This is an unmanaged VPS so I'm hoping that someone here may see what is wrong.



The server uses it's own name servers which are correctly set at the registrar. They are like so:



enter image description here




My first domain, plangator.com, is mostly reporting OK at intodns. Here is it's Zone file:



; Zone file for plangator.com
$TTL 14400
plangator.com. 86400 IN SOA ns1.lamardesigngroup.com. rlamar4088.aol.com. (
2016020105 ;Serial Number
86400 ;refresh
7200 ;retry
3600000 ;expire

86400 ;minimum
)
plangator.com. 86400 IN NS ns1.lamardesigngroup.com.
plangator.com. 86400 IN NS ns2.lamardesigngroup.com.
plangator.com. 14400 IN A 212.1.213.8
localhost 14400 IN A 127.0.0.1
plangator.com. 14400 IN MX 0 plangator.com.
mail 14400 IN CNAME plangator.com.
www 14400 IN CNAME plangator.com.
ftp 14400 IN A 212.1.213.8

cpanel 14400 IN A 212.1.213.8
webmail 14400 IN A 212.1.213.8
plangator.com. 14400 IN TXT "v=spf1 mx a ip4:212.1.213.8 include:plangator.com ~all"


One thing that I notice is that it doesn't report the correct IP's for the name servers. 212.1.213.8 is the IP of the Server.




Nameserver records returned by the parent servers are:




ns1.lamardesigngroup.com. ['212.1.213.8'] [TTL=172800]



ns2.lamardesigngroup.com. ['212.1.213.8'] [TTL=172800]




My problem domain is gator.digital. Here is it's Zone file:



; Zone file for gator.digital
$TTL 14400
gator.digital. 86400 IN SOA ns1.lamardesigngroup.com. rlamar4088.aol.com. (

2015101316 ;Serial Number
86400 ;refresh
7200 ;retry
3600000 ;expire
86400 ;minimum
)
gator.digital. 86400 IN NS ns1.lamardesigngroup.com.
gator.digital. 86400 IN NS ns2.lamardesigngroup.com.
gator.digital. 14400 IN A 212.1.213.8
www 14400 IN CNAME gator.digital.

cpanel 14400 IN A 212.1.213.8
gator.digital. 14400 IN TXT google-site-verification=l5pn02kvh4kCGScCaA-IUIb7toL82RnLdiuXdHw0dB8
gator.digital. 3600 IN MX 1 aspmx.l.google.com.
gator.digital. 3600 IN MX 5 alt1.aspmx.l.google.com.
gator.digital. 3600 IN MX 5 alt2.aspmx.l.google.com.
gator.digital. 3600 IN MX 10 alt3.aspmx.l.google.com.
gator.digital. 3600 IN MX 10 alt4.aspmx.l.google.com.
gator.digital. 14400 IN TXT "'v=spf1 include:_spf.google.com ~all'"
localhost 14400 IN A 127.0.0.1



Here is how the name servers are seen for gator.digital.




Nameserver records returned by the parent servers are:



ns2.lamardesigngroup.com. ['198.20.251.114'] (NO GLUE) [TTL=86400]



ns1.lamardesigngroup.com. ['198.20.251.113'] (NO GLUE) [TTL=86400]





And then all of the errors:




NS records from your nameservers NS records got from your nameservers listed at the parent NS are:
Oups! I could not get any nameservers from your nameservers (the ones listed at the parent server). Please verify that they are not lame nameservers and are configured properly.



Same Glue Hmm,I do not consider this to be an error yet, since I did not detect any nameservers at your nameservers.



Glue for NS records OK. Your nameservers (the ones reported by the parent server) have no ideea who your nameservers are so this will be a pass since you already have a lot of errors!




Mismatched NS records WARNING: One or more of your nameservers did not return any of your NS records.



DNS servers responded ERROR: One or more of your nameservers did not respond:
The ones that did not respond are:
198.20.251.114 198.20.251.113



Multiple Nameservers ERROR: Looks like you have less than 2 nameservers. According to RFC2182 section 5 you must have at least 3 nameservers, and no more than 7. Having 2 nameservers is also ok by me.



Missing nameservers reported by your nameservers You should already know that your NS records at your nameservers are missing, so here it is again:




ns2.lamardesigngroup.com.
ns1.lamardesigngroup.com.




It seems that although these are both setup to use the same nameservers the DNS check is looking in two different places.


Answer



Focusing on the actual problem with your domains:



Following the chain of delegations for lamardesigngroup.com you'll see a delegation to ns1.lamardesigngroup.com and ns2.lamardesigngroup.com with glue referring to 212.1.213.8.




lamardesigngroup.com.   172800  IN      NS      ns1.lamardesigngroup.com.
lamardesigngroup.com. 172800 IN NS ns2.lamardesigngroup.com.
ns1.lamardesigngroup.com. 172800 IN A 212.1.213.8
ns2.lamardesigngroup.com. 172800 IN A 212.1.213.8


However, the authoritative records served by 212.1.213.8 are:



lamardesigngroup.com.   86400   IN      NS      ns2.lamardesigngroup.com.

lamardesigngroup.com. 86400 IN NS ns1.lamardesigngroup.com.
ns1.lamardesigngroup.com. 14400 IN A 198.20.251.113
ns2.lamardesigngroup.com. 14400 IN A 198.20.251.114


There's clearly an inconsistency between the glue and authoritative address records for the nameserver names, leading to different addresses being used in different situations.



This in turn also affects your other domains that use ns1.lamardesigngroup.com and ns2.lamardesigngroup.com as nameservers.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...