Check Connectivity

Everything is working, but when I run the "Check Connectivity" I get this error

Nameserver mismatch None of the nameservers match this system : NS1.asrservice.com. NS2.asrservice.com. Verify with your DNS registrar that nameservers for the domain are set correctly.

The server name is "host.asrservice.com" So what's wrong with the nameserver? If I do a "whois" for ns1.asrservice.com I get all my info so it is right.

Michael

Status: 
Closed (fixed)

Comments

Well, nothing is wrong with that hostname -- however, you'd want to make sure that the domain "asrservice.com" contains DNS records for 'ns1.asrservice.com' and 'ns2.asrservice.com'. You'd want to setup two 'A' records for those.

That can be done in Server Configuration -> DNS Records.

I'm not sure I understand, In DNS Records I have both NS1 and NS2.asrservice.com set up as Nameservers

Do I set up 2 A records for NS1.ASRSERVICE.COM and NS2.ASRSERVICE.COM too?

Michael

Yes, you need to configure, for completeness, A records for ns1/ns2.asrservice.com, in your BIND. Lookups will usually succeed anyway, because you correctly configured the glue records at your registrar (i.e. the root-servers.net nameservers know ns1/ns2.asrservice.com WITH their IP addresses), but your nameservers should return them as well.

Also, it is common practice to not use upper-case letters in such hostnames like ns1/ns2... It doesn't really matter, since domain names are case-insensitive, but it looks a bit odd. :)

OK I added the 2 A records for the name servers, and also changed them to lower case. Now when I run the "External Connectivity Check" I get

No response from connectivity check Response contained no valid lines : File a support ticket with Virtualmin

I am attaching a picture of it.

I'm not sure if this is the cause of the message you're seeing, but it looks like one of your "NS" records has a comma (,) in it rather than a (.).

You may want to correct that an then restart BIND.

You have a good eye, I saw that too, and corrected it, but I still get the same error message. What else can I try?

Could it have something to do with Host Addresses? Michael

Here is a snap shot of it.

No, that wouldn't be related.

What error are you getting from the connectivity check currently?

The same error as I started with I posted it above.

Nameserver mismatch None of the nameservers match this system : NS1.asrservice.com. NS2.asrservice.com. Verify with your DNS registrar that nameservers for the domain are set correctly.

I can't resolve either NS1.asrservice.com or NS2.asrservice.com. Have you added them to your registrar as glue / host records?

Well I really don't know about that. I thought I did, but not sure how I did it. Would this be with the Registrar of the domain name?

OK I checked with the Registrar and it is set correctly. So it has to have something to do with the way it is set up here.

Michael

Yes, you need to add glue or host records with your registrar for ns1 and ns2 with the correct IP addresses.

Also, make sure that in Virtualmin there are entries for ns1 and ns2 - select asrservice.com from the left menu, and go to Services -> DNS Records.

All that has been done already.. Its strange host was working just fine before my server crashed, so It has to be something in the way I have the System name, or the DNS set up. Don't know what else to do. I get my mail delivered just file, FTP works just fine. I can log in to all my sites, so why do I get this error.

Michael

This is a bit odd. intodns.com reports that the glue records at the NIC are set, but when I do a dig-trace, the IPs are not returned.

You should double-check with your registrar that the glue records are correctly set, that your zone is set up correctly and that zone transfers between your servers works. Maybe something is still in the process of updating at the NIC.

I get my mail delivered just file, FTP works just fine. I can log in to all my sites, so why do I get this error.

Well, I'll mention that, if everything else is working on your server -- if Apache works, FTP works, Email works -- then it's not a horrible problem.

Is that true though -- is everything working for you, it's just the connectivity check error you're getting?

Is it possible that the issue existed before, and you just didn't run the connectivity check to see it?

No I have ran the connectivity check many times, and I have never received this error before the Crash. In fact the server ran for almost a year with out any problems.

I almost wish I could get someone to log in and see for them selfs the problem, and tell me whit it is I need to do to fix it. The same with my 2nd Hard drive. I just want to use it as a Backup drive.

Michael

Well, your DNS and nameservers for this domain look good.

The only other issue I'm seeing is that if your server's hostname is "host.asrservice.com" -- you'd want to go into Server Configuration -> Edit DNS Records, and add a DNS 'A' record for the name 'host.asrservice.com'.

Try adding that and see if the error goes away.

OK I added a "A" rocord for "host.asrservice.com" and ran the "Check Conectitivaty" and I get the same error..

Michael

Hmm, and one other thing -- try restarting BIND. You can do that by running this command as root:

/etc/init.d/named restart

Nope still the same error.

Nameserver mismatch None of the nameservers match this system : NS1.asrservice.com. NS2.asrservice.com. Verify with your DNS registrar that nameservers for the domain are set correctly.

I'd be happy to login to your system and fix this if you like - either enable remote support access in Virtualmin, or email me login details at jcameron@virtualmin.com

Currently NS1.asrservice.com and NS2 aren't resolving for me externally.

I also checked your domain again with dig, and found that you don't appear to have A (Address) records setup for ns1.asrservice.com and ns2.

Could you post a screenshot of what you see if you select asrservice.com from the left menu, then go to Services -> DNS Records?

OK you asked for this before, and I thought you made a mistake, If I go to "Services" there is no DNS Records. If I go to "Server Configuration:" there is a "DNS Records" there and this is the Screen Shot of it. If DNS Records are suppose to be in "Services" its not there..

I would love to have one of you Log in and fix these 2 problems, then I will stop bugging you guys.

P.S.
This is not related but I thought I would let you know. Every time I try uploading a screen shot, I get this error

oops! there was a problem
g: Parameter 2 to date_form_alter() expected to be a reference, value given in /home/virtualmin/public_html/includes/common.inc on line 2930.
warning: Parameter 2 to date_timezone_form_alter() expected to be a reference, value given in /home/virtualmin/public_html/includes/common.inc on line 2930.
warning: Parameter 2 to securepages_form_alter() expected to be a reference, value given in /home/virtualmin/public_html/includes/common.inc on line 2930.
warning: Parameter 2 to spam_form_alter() expected to be a reference, value given in /home/virtualmin/public_html/includes/common.inc on line 2930.
warning: Parameter 2 to virtualmin_form_alter() expected to be a reference, value given in /home/virtualmin/public_html/includes/common.inc on line 2930.
warning: Parameter 2 to project_form_alter() expected to be a reference, value given in /home/virtualmin/public_html/includes/common.inc on line 2930.
warning: Parameter 2 to project_issue_form_alter() expected to be a reference, value given in /home/virtualmin/public_html/includes/common.inc on line 2930.
warning: Parameter 2 to notifications_content_form_alter() expected to be a reference, value given in /home/virtualmin/public_html/includes/common.inc on line 2930.

Just thought you would like to know. The Upload works, I just get the error every time.

Michael

Thanks for the login - I found and fixed the problem, which was that the address records for ns1 and ns2 had the domain name in them twice! In retrospect, this was clear on the "DNS records" screenshot you posted above.

The connectivity check now works fine.

OK Thank you. I would have never got that.

Michael

Automatically closed -- issue fixed for 2 weeks with no activity.