Submitted by mike8 on Sun, 02/19/2012 - 12:49
Everything is working, but when I run the "Check Connectivity" I get this error
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
Submitted by andreychek on Sun, 02/19/2012 - 12:54 Comment #1
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.
Submitted by mike8 on Sun, 02/19/2012 - 13:05 Comment #2
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
Submitted by Locutus on Sun, 02/19/2012 - 15:22 Comment #3
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. :)
Submitted by mike8 on Sun, 02/19/2012 - 17:43 Comment #4
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.
Submitted by andreychek on Sun, 02/19/2012 - 18:19 Comment #5
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.
Submitted by mike8 on Sun, 02/19/2012 - 20:24 Comment #6
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
Submitted by mike8 on Sun, 02/19/2012 - 20:25 Comment #7
Here is a snap shot of it.
Submitted by JamieCameron on Sun, 02/19/2012 - 20:28 Comment #8
No, that wouldn't be related.
What error are you getting from the connectivity check currently?
Submitted by mike8 on Sun, 02/19/2012 - 20:48 Comment #9
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.
Submitted by JamieCameron on Sun, 02/19/2012 - 21:11 Comment #10
I can't resolve either NS1.asrservice.com or NS2.asrservice.com. Have you added them to your registrar as glue / host records?
Submitted by mike8 on Sun, 02/19/2012 - 23:06 Comment #11
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
Submitted by JamieCameron on Mon, 02/20/2012 - 00:49 Comment #12
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.
Submitted by mike8 on Mon, 02/20/2012 - 01:21 Comment #13
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
Submitted by Locutus on Mon, 02/20/2012 - 04:23 Comment #14
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.
Submitted by andreychek on Mon, 02/20/2012 - 08:44 Comment #15
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?
Submitted by mike8 on Mon, 02/20/2012 - 21:55 Comment #16
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
Submitted by andreychek on Mon, 02/20/2012 - 22:16 Comment #17
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.
Submitted by mike8 on Tue, 02/21/2012 - 20:21 Comment #18
OK I added a "A" rocord for "host.asrservice.com" and ran the "Check Conectitivaty" and I get the same error..
Michael
Submitted by andreychek on Tue, 02/21/2012 - 20:34 Comment #19
Hmm, and one other thing -- try restarting BIND. You can do that by running this command as root:
/etc/init.d/named restart
Submitted by mike8 on Tue, 02/21/2012 - 20:52 Comment #20
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.
Submitted by JamieCameron on Wed, 02/22/2012 - 01:26 Comment #21
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.
Submitted by JamieCameron on Wed, 02/22/2012 - 01:28 Comment #22
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?
Submitted by mike8 on Wed, 02/22/2012 - 16:14 Comment #23
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
Submitted by JamieCameron on Wed, 02/22/2012 - 16:21 Comment #24
Ok, that looks fine to me.
I would be happy to login and take a look - just send me your SSH root password at jcameron@virtualmin.com
Submitted by JamieCameron on Wed, 02/22/2012 - 19:02 Comment #25
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.
Submitted by mike8 on Wed, 02/22/2012 - 19:38 Comment #26
OK Thank you. I would have never got that.
Michael
Submitted by Issues on Wed, 03/07/2012 - 19:45 Comment #27
Automatically closed -- issue fixed for 2 weeks with no activity.