Unable to create a virtual nameserver

S2S-Robert

Verified User
Joined
Jun 24, 2003
Messages
415
Location
The Netherlands
When I try to create a virtual nameserver I get:

Code:
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?
 
Last edited:
Hello,

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

John
 
Even after I add that it still gives me the same error. The contents of etc/resolv.conf is currently

Code:
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.
 
Last edited:
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...
 
Back
Top