PDA

View Full Version : Unable to create a virtual nameserver


S2S-Robert
01-20-2004, 05:15 AM
When I try to create a virtual nameserver I get:


Cannot execute your request

Details
Error resolving ns1.s2webhosting.com


Now I am in the middle of changing servers / ip's, but when I ping the nameserver in question (ns1.s2swebhosting.com) on the server it gives me the correct ip, so it should resolve right?

ProWebUK
01-20-2004, 07:06 AM
Add your 2 nameservers as A records firstly.

Chris

S2S-Robert
01-20-2004, 07:30 AM
I did, still the same error.

DirectAdmin Support
01-20-2004, 11:44 AM
Hello,

Try adding:

nameserver 127.0.0.1to the very top of your /etc/resolv.conf file so that queries will use your own nameserver, regardless of domain registrations/propogration.

John

S2S-Robert
01-20-2004, 12:40 PM
Even after I add that it still gives me the same error. The contents of etc/resolv.conf is currently


search s2webhosting.com
nameserver 127.0.0.1
nameserver 62.212.65.123
nameserver 62.212.64.122


edit:

What does that "search" do?

edit2:

Even after removing the search line it's still giving the same error.

DirectAdmin Support
01-21-2004, 01:05 PM
Hello,

http://www.dnsreport.com/tools/dnsreport.ch?domain=s2webhosting.com

doesn't return anything. You sure that domain is setup?

At an ssh prompt, try typing:dig s2webhosting.com

John

S2S-Robert
01-21-2004, 04:49 PM
Chris already helped me with this one. The most stupid thing occurred, my host installed the wrong hostname, so nothing resolved correctly. It also gave some mail problems because of it and my primary domain which hosts my e-mail accounts wasn't added to /etc/virtual/domains.

A pretty sloppy installed server all in all...