Page 1 of 1

DNS issue

Posted: 2008/03/11 04:44:35
by yeoheric

I have several servers behind a Firewall that also acts as my DNS server.

I setup a domain ( and works well. However when I put in, it goes to the firewall's web page.

Below are the contents of the file (where is the forewall/DNS and is the public IP of the webserver):

$TTL 86400
@ IN SOA (
20080312001 ; Serial
7200 ; Refresh after 2 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400) ; Minium TTL of 1 day
IN MX 50
IN TXT "v=spf1 mx -all"
#localhost A #<-------Original
localhost A #<-------Added
www A
ns A
ns2 A
mail A

I remarked the original localhost line and added a new line as above and of course restarted named.

I added it abt say 2 hours ago and it still goes to the firewall's web page.

Did I left out anything?

Thank you.


Re: DNS issue

Posted: 2008/03/15 01:23:03
by foxb
Did you setup in apache? (Just guessing virual host)


Are you using NAT? If no it should work. Otherwise you need to play wit prerouting (If I remember correctly) or create inside view on DNS.