Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

[I've also asked this in Webmasters - it seems to fall into a grey area between here and there]

I'm setting up a shiny new vps with my own nameserver. Fortunately I had a spare domain that I'm using and have registered as a nameserver.

After a struggle, I seem to have it working but when I check two test sites with intoDNS, one appears to work and the other doesn't.

With dig, neither work. The setup for the two is identical other than one being hosted with namecheap and the other with

The urls are:


The nameserver entries for the two sites were repointed 48 hours ago.

I can't figure out what the problem is. Anybody got any ideas?

This is the records file for the nameserver:

    $ttl 38400  IN  SOA (

                38400 )  IN  NS  IN  NS  IN  A   xx.yyy.181.221  IN  A   xx.yyy.181.221  IN  A  IN  A  IN  MX  5 IN  A    IN  A   IN  PTR
share|improve this question

closed as not a real question by mdpc, Ward, Michael Hampton, Scott Pack, Tom O'Connor Dec 26 '12 at 12:27

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Is this the REAL records for the nameserver....I'm confused as to the relationship between your description. – mdpc Dec 23 '12 at 17:18
Crossposting the identical note is frowned on in within the SE system. Thanks for telling everybody however. – mdpc Dec 23 '12 at 17:19
@mdpc - yes these are real records are for the ns (ip redacted) I can add the records for the domains too if reqd. – Leo Dec 23 '12 at 17:21
I wouldn't normally go anywhere near crossposting, but this was a tricky one. – Leo Dec 23 '12 at 17:23
Why is this not a real question? Just because I have provided plenty of information and you can't be bothered to read it doesn't mean I can't ask for help. It's perfectly clear what I'm asking, it's not ambiguous, vague, incomplete, overly broad, or rhetorical and it is perfectly suited to being answered. Perhaps you should read this:… It may well be referring to 'off-topic' closures but the principle of wielding power badly is the same. – Leo Dec 26 '12 at 16:31
up vote 1 down vote accepted

The DNS for is fine:              38400   IN      A              38400   IN      NS              38400   IN      NS
;; Received 124 bytes from in 106 ms

Although the actual answer is unusual because it points to a localhost IP address, which means that the HTTP site will only work when accessed from the machine actually serving it. You probably want to point this record to the actual public IP address.

The DNS for is broken however because the nameservers refuse to answer queries:

Host not found: 5(REFUSED)

Check that you have configured the correct NS records, that your DNS server software is actually running, and that the firewall allows incoming packets.

share|improve this answer
Thanks, I'll try that. failed because I rebuilt the server and only setup a vserver for zzokk. – Leo Dec 26 '12 at 16:36
It is certainly only serving the page from my local machine and I've been trying to solve that. – Leo Dec 26 '12 at 16:37
Sorted! I made the mistake of believing that Virtualmin knew what it was doing. Two big fixes were: 1. ensure that the IP for the server is the external IP not an internal one (VMin decided to use 2. In System_Settings->Virtualmin_Config->Netwk_Settings make 'net iface for virt addresses = venet0:0 – Leo Dec 27 '12 at 10:39
I think venet0 was the default which produces venet0:0 will produce the external IP. – Leo Dec 27 '12 at 10:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.