How to resolve domain name without specifing www for record type
william+dns at hq.newdream.net
Fri Oct 5 17:58:02 UTC 2001
Rick Evans wrote:
[it's considered good etiquette to wrap lines @ 72 characters or so...
i'm sure outlook can manage that somehow :>]
> I have been running MS DNS for quite some time now and have decided to
> switch to BIND for several reasons.
> I am in the process of cutting over and have ran into an issue. On
> our MS server, I can create a record for a domain so customers can go
> to domain.com without having to type in the www first. I am trying to
> get that to work under bind and not having any luck.
hrmm it's pretty simple. create an A record for domain.com as well as
@ IN SOA ns1.veggiechinese.net. william.newdream.net. (
2001050906 ; serial
3h ; refresh
30m ; retry
3w ; expire
5m) ; minimum
IN A 22.214.171.124
IN MX 0 aura.infinitejazz.net.
IN NS ns1.veggiechinese.net.
IN NS ns2.veggiechinese.net.
IN NS ns.newdream.net.
[some lines removed]
www IN A 126.96.36.199
nothing to it. just make sure that you have the an A record for the
origin (@) that's the same as the A record for www.
> I have the file db.domain.com created and it works fine as long as I
> put in the www first. I have under hosts an A record for www. On a
> separate line, I have another A record with the same IP address only
> with nothing in the first part (no www or anything) however it doesn't
> work. Is this the correct way to do it? Sorry for my ignorance.
don't be sorry for your ignorance. however you should be sorry for not
including the zone file or telling us the name of your domain. if you
try to disguise your domain name it makes it hard for anyone to figure
out your problem. include your zone file, relevant bits from your
named.conf and use the real name for your domain and i'll bet that
someone will be able to help you rather quickly.
GPG Public Key:
More information about the bind-users