[nzlug] bind9: websites without "www."

Raimund Eimann raimund at cs.auckland.ac.nz
Tue Mar 20 11:33:42 NZST 2007


Hi,

I've configured a bind 9 nameserver for a private network (i.e. 192.168.x.y). 
A web server runs on the firewall, providing a number of (virtual) sites. 
From the outside, I can access http://www.mysite.co.nz as well as 
http://mysite.co.nz, so the web server config is able to handle both 
requests.

However, what entry do I need to put into my local nameserver config to direct 
mysite.co.nz to the correct IP? www.mysite.co.nz works fine.

Any help appreciated. I'd also be happy if someone could point me to the 
relevant section in bind's documentation. My problem is that I don't really 
know what to search for...

Cheers,
Raimund


Today's wisdom:
Car service:  If it ain't broke, we'll break it.



More information about the NZLUG mailing list