Quote:
Originally posted by shizzy-t
I wanted to make the www server answer a request for the domain. So if someone typed in www.example.com or example.com they would come to the same place.
[/B]
|
In the zone file add entries for www and @. This works with the DNS and no need to add anything in httpd.conf. for eg:
@ IN A x.x.x.x
www IN CNAME @
So when you do a nslookup or dig on
www.example.com and example.com you are directed to the same site.
Quote:
Originally posted by shizzy-t
Except . How do you make the DNS server answer requests for just the domain name.
|
Not sure what you mean by this. If you mean you want yur DNS server to answer only private domains then just delete the root.ca file and use the allow-query option.
Your dns server will be queried only if it has been listed as the primary or secondary name server for your domain or if someone knows you're running a dns server and uses it for resolving addresses.
hope this helps