Multiple domains on same ip (virtual hosting) - correct way?

Mathias Körber mathias at koerber.org
Sat Nov 11 01:20:57 UTC 2000


> Oops!
>=20
> Yes, I changed the zone name to=20
>=20
> 82.87.212.in-addr.arpa. :-(
>=20
> If newnet (where I colocate) are running the entire reverse mappings =
for
> the network on their nameservers, does that then mean that:
>=20
> my cyberscreen.reverse zone should be 26/31.82.87.212.in-addr.arpa
>=20
> OR
>=20
> should I create a separate reverse zone and zonefile for each of my
> individual ip's?
> eg=20
> 24.82.87.212.in-addr.arpa, 25.82.87.212.in-addr.arpa etc?
>=20
>=20
> OR
>=20
> if newnet are handling all the reverse mappings, does that mean I =
don't
> need a cyberscreen.reverse at all?

It looks to me like this last option, but you really have to sort this =
out
with  newnet.

regards

>=20
> thanks again for the advice - I think I've learned more about dns =
today
> than in the previous year I've been studying it!
>=20
> Peter Rose
> London UK
>=20
>=20
>=20
> In message <NEBBLGLDKLMMGKEMEFMFKEBDCDAA.mathias at koerber.org>, Mathias
> K=F6rber <mathias at koerber.org> writes
> >
> >> That's very helpful thanks -=3D20
> >>=3D20
> >> In fact, I am embarrassed to say that my mail problem seems to have
> >> caused by not having an A record for cyberscreen.com in my main
> >> zonefile, plus I changed the name of my reverse file to=3D20
> >>=3D20
> >> 82.87.212.in-addr.arpa.
> >>=3D20
> >> and everything seems fine now.=3D20
> >
> >Did you change the name of file only or the zone-name?
> >Don't change the zone-name to that if you have not been
> >delegated that full reverse zone.
> >
> >Let's see:
> ># dig 82.87.212.in-addr.arpa ns
> >
> >; <<>> DiG 8.2 <<>> 82.87.212.in-addr.arpa ns=3D20
> >;; res options: init recurs defnam dnsrch
> >;; got answer:
> >;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> >;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
> >;; QUERY SECTION:
> >;;      82.87.212.in-addr.arpa, type =3D3D NS, class =3D3D IN
> >
> >;; ANSWER SECTION:
> >82.87.212.in-addr.arpa.  5D IN NS  usui.newnet.co.uk.
> >82.87.212.in-addr.arpa.  5D IN NS  hayashi.newnet.co.uk.
> >
> >;; Total query time: 4254 msec
> >;; FROM: matjes to SERVER: default -- 0.0.0.0
> >;; WHEN: Sat Nov 11 00:53:17 2000
> >;; MSG SIZE  sent: 40  rcvd: 93
> >
> >Nope, the 82.87.212.in-addr.arpa zone is not delegated to you, so you
> >should not be running that.
> >
> >
> ># dig 24.82.87.212.in-addr.arpa any @usui.newnet.co.uk
> >
> >; <<>> DiG 8.2 <<>> 24.82.87.212.in-addr.arpa any =
@usui.newnet.co.uk=3D20
> >; (1 server found)
> >;; res options: init recurs defnam dnsrch
> >;; got answer:
> >;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
> >;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: =
2
> >;; QUERY SECTION:
> >;;      24.82.87.212.in-addr.arpa, type =3D3D ANY, class =3D3D IN
> >
> >;; ANSWER SECTION:
> >24.82.87.212.in-addr.arpa.  1D IN PTR  server.cyberscreen.com.
> >
> >;; AUTHORITY SECTION:
> >82.87.212.in-addr.arpa.  1D IN NS  usui.newnet.co.uk.
> >82.87.212.in-addr.arpa.  1D IN NS  hayashi.newnet.co.uk.
> >
> >;; ADDITIONAL SECTION:
> >usui.newnet.co.uk.      1D IN A         212.87.64.12
> >hayashi.newnet.co.uk.   1D IN A         212.87.87.11
> >
> >;; Total query time: 229 msec
> >;; FROM: matjes to SERVER: usui.newnet.co.uk  212.87.64.12
> >;; WHEN: Sat Nov 11 00:54:23 2000
> >;; MSG SIZE  sent: 43  rcvd: 186
> >
> >Did newnet delegate the reverse to you at all? DOes not look like it.
> >It seems to me they are running the reverse for the whole /24 =3D
> >(82.87.121.in-addr.arpa)
> >from their nameservers.
> >
> >
> >
> >
> >>=3D20
> >> As a result of the above error, I am even more embarrassed to find =
=3D
> >that
> >> my original post has been duplicated - I had it bounced back by the
> >> listserver a couple of times and I thought it was my ISP - in fact =
it
> >> was because the listserver sendmail could not do the lookup on
> >> cyberscreen.com - DUHHH!
> >>=3D20
> >> Many many apologies to the list for this.
> >>=3D20
> >> And thanks again for the advice, I think I am sorted on this =
subject
> >> now.
> >>=3D20
> >> Peter Rose
> >> London UK
> >
> >
> >
>=20
> "I don't like your fashion business mister"=20
>   - Leonard Cohen / First We Take Manhattan
>=20
>=20




More information about the bind-users mailing list