Web Hosting Talk







View Full Version : vhosts


kwimberl
07-04-2001, 11:31 AM
Hello!

I need to setup a vhost (like knox.mydomain.com) that reverses as well. The reason for this is so that when using bnc, the DNS will show on the IRC server instead of the numeric IP.

Obviously I am ignorant, as I thought I just needed to set a PTR record (in addition to the A record). What do I have to do?

DavidU
07-04-2001, 02:02 PM
Originally posted by kwimberl
Hello!

I need to setup a vhost (like knox.mydomain.com) that reverses as well. The reason for this is so that when using bnc, the DNS will show on the IRC server instead of the numeric IP.

Obviously I am ignorant, as I thought I just needed to set a PTR record (in addition to the A record). What do I have to do?

It really isn't worth doing...but yes, the machine's outbound IP needs a PTR record for whatever you are doing and also you need to tell your client software which name to use (though most servers will ignore it anyways)

-davidu

Planet Z
07-04-2001, 02:03 PM
No, that's basically all you should have to do.

BUT, in order to control reverse DNS, your upstream has to point control of the reverse DNS to your nameserver. You generally need to own/use the whole class C in order to have them do this.

My guess is your nameserver doesn't have control of the IPs you're trying to reverse. Just because the IP points to your box doesn't mean you control it.

kwimberl
07-04-2001, 02:09 PM
Originally posted by Planet Z
BUT, in order to control reverse DNS, your upstream has to point control of the reverse DNS to your nameserver. You generally need to own/use the whole class C in order to have them do this.

My guess is your nameserver doesn't have control of the IPs you're trying to reverse. Just because the IP points to your box doesn't mean you control it. [/B]

Does this mean that the only way they CAN do it is if I own the whole class c? Or is that just a policy that many providers have?

DavidU
07-04-2001, 02:24 PM
Originally posted by Planet Z
No, that's basically all you should have to do.

BUT, in order to control reverse DNS, your upstream has to point control of the reverse DNS to your nameserver. You generally need to own/use the whole class C in order to have them do this.

My guess is your nameserver doesn't have control of the IPs you're trying to reverse. Just because the IP points to your box doesn't mean you control it.

Uhh, every ISP class upstream will do your PTR's for you -- you don't need a class C. Just know that only one PTR per IP.

Also your forward and reverse nameservers don't have to be the same and often aren't.

Some can even subnet delegation to you with less then a class C with the new RFC tricks.

-davidu

Planet Z
07-04-2001, 03:17 PM
Originally posted by DavidU
Uhh, every ISP class upstream will do your PTR's for you -- you don't need a class C. Just know that only one PTR per IP.

Right. But they were trying to do it on their nameserver. My point was normally you won't have the ability to do reverse DNS on your own server unless your upstream has specifically given you that ability.

DavidU
07-04-2001, 04:51 PM
Originally posted by Planet Z


Right. But they were trying to do it on their nameserver. My point was normally you won't have the ability to do reverse DNS on your own server unless your upstream has specifically given you that ability.


Oh, I never got the impression they were doing the PTR's on their nameserver.

I dunno...are they?

-davidu

kwimberl
07-04-2001, 04:58 PM
Originally posted by DavidU

Oh, I never got the impression they were doing the PTR's on their nameserver.

I dunno...are they?


Yes, we wanted to. I am all for controlling more on our end.

DavidU
07-04-2001, 05:04 PM
Originally posted by kwimberl


Yes, we wanted to. I am all for controlling more on our end.

you don't really have that choice when it comes to PTR records.

Reverse is _usually_ handled by your upstream provider unless they delegate it to you which I doubt they do.

-davidu