Home Forums OS X Server and Client Discussion DNS DNS Resolving domain.com without the ‘www’

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #363849
    Anonymous
    Guest

    We have a few DNS zones running on 10.3.9 Server. We have a A record for http://www.domain.com pointing to our internal webserver. The NS record is setup correctly. We also have reverse look up setup.

    The problem is when a user tries domain.com without the ‘www’ it doesn’t resolve. I tried to do a cname ‘domain.com’ to point to the IP but that didn’t work.

    What am I missing?

    #363853
    vagabond
    Participant

    As macshome pointed out, you can’t do this in server admin. Edit the zone file for your domain (in /var/named) to include this:

    domain.com. IN A xxx.xxx.xxx.xxx
    

    It can’t be a CNAME (for whatever reason it’s improper syntax in the BIND world). Don’t forget the period after domain.com, otherwise it will add it as a subdomain.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed