Resolving a domainname to IP without subdomain?
Razvan Bruma
razvan at rartel.ro
Wed Apr 11 09:19:08 UTC 2001
Look below in your zone file (I added the record)
On Wed, 11 Apr 2001, Guido E. Smit wrote:
> Date: Wed, 11 Apr 2001 11:10:33 +0200
> From: Guido E. Smit <guido at comlog.nl>
> To: Razvan Bruma <razvan at rartel.ro>
> Cc: comp-protocols-dns-bind at moderators.isc.org
> Subject: Re: Resolving a domainname to IP without subdomain?
>
> What should that A record look like then?
>
> I have now in comlog.nl.db:
>
> ;forward zone file: comlog.nl
> ;
> $TTL 86400
> $ORIGIN comlog.nl.
> @ IN SOA pns.comlog.nl. postmaster.comlog.nl. (
> 2001041001 ; serial number in YYYYMMDDxx format
> 28800 ; refresh interval for slave ns to refresh from master
> 21600 ; retry by slave ns if master ns is unreachable
> 604800 ; expire from slave cache when master ns is unreachable for this
> period
> 86400 ; default time-to-live in any DNS cache
> )
;
;
;
IN A 213.160.200.5
;
;
;
;
> ;
> ; nameservers
> @ IN NS pns.comlog.nl.
> @ IN NS sns.comlog.nl.
> ;mail
> @ IN MX 5 pns
> ; hosts
> localhost IN A 127.0.0.1
> pns IN A 213.160.200.3
> sns IN A 213.160.200.4
> www IN A 213.160.200.5
> ; aliases
> pop3 IN CNAME pns
> smtp IN CNAME pns
> * IN CNAME www
>
> Guido Smit
> Manager Internet Services
> ComLog B.V.
> Ambachtsmark 81
> 1355 EG Almere
> The Netherlands
> Tel. : +31 36 5470500
> Fax. : +31 36 5470481
>
> HOT TIP: http://www.siteupdate.nl
> ____________________________________________________________________________
> ________________________________________
> This email and any files transmitted with it are confidential and are
> intended solely for the use of the individual or entity to whom they are
> addressed.
> This email represents the originator's personal views and opinions, which do
> not necessarily reflect those of ComLog Internet B.V. If you are not the
> original recipient, any use, dissemination, forwarding, printing, or copying
> of this email is strictly prohibited. If you received this email in error,
> please notify guido at comlog.nl.
> ____________________________________________________________________________
> ________________________________________
> ----- Original Message -----
> From: "Razvan Bruma" <razvan at rartel.ro>
> To: "Guido E. Smit" <guido at comlog.nl>
> Cc: <comp-protocols-dns-bind at moderators.isc.org>
> Sent: Wednesday, April 11, 2001 10:26 AM
> Subject: Re: Resolving a domainname to IP without subdomain?
>
>
> >
> > Add an A address for comlog.nl which is identical to www.comlog.nl
> >
> > regards
> > Razvan
> >
> >
> >
> > On Wed, 11 Apr 2001, Guido E. Smit wrote:
> >
> > > Date: Wed, 11 Apr 2001 09:09:17 +0200
> > > From: Guido E. Smit <guido at comlog.nl>
> > > To: comp-protocols-dns-bind at moderators.isc.org
> > > Subject: Resolving a domainname to IP without subdomain?
> > >
> > > Content-Type: text/plain;
> > > charset="iso-8859-1"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > Hi all,
> > >
> > > I'm trying to figure out how to get Bind (8.2.3 running on W2K) to =
> > > resolve queries with only a domainname without a subdomain.
> > >
> > > Example:
> > >
> > > In a browser you type in: http://comlog.nl and it should resolve to the
> =
> > > same IP as www.comlog.nl
> > >
> > > Any ideas on how to do this?
> > >
> > > Guido Smit
> > > Manager Internet Services
> > > ComLog B.V.
> > > Ambachtsmark 81
> > > 1355 EG Almere
> > > The Netherlands
> > > Tel. : +31 36 5470500
> > > Fax. : +31 36 5470481
> > >
> > > HOT TIP: http://www.siteupdate.nl
> > >
> _________________________________________________________________________=
> > > ___________________________________________
> > > This email and any files transmitted with it are confidential and are =
> > > intended solely for the use of the individual or entity to whom they are
> =
> > > addressed.
> > > This email represents the originator's personal views and opinions, =
> > > which do not necessarily reflect those of ComLog Internet B.V. If you =
> > > are not the=20
> > > original recipient, any use, dissemination, forwarding, printing, or =
> > > copying of this email is strictly prohibited. If you received this email
> =
> > > in error,=20
> > > please notify guido at comlog.nl.=20
> > >
> _________________________________________________________________________=
> > > ___________________________________________
> > >
> > >
> > >
> > > -- Binary/unsupported file stripped by Listar --
> > > -- Type: text/x-vcard
> > > -- File: Guido E. Smit.vcf
> > >
> > >
> > >
> > >
> >
> >
> > Razvan Bruma
> > Unix System Administrator
> > email: razvan at rartel.ro
> >
> >
> >
> >
> >
>
>
Razvan Bruma
Unix System Administrator
email: razvan at rartel.ro
More information about the bind-users
mailing list