Static IP and fully qualified domain names
Cordula's Web
cpghost at cordula.ws
Fri Nov 21 07:42:48 PST 2003
> My ISP was so nice to give me a domain name (pukruppa.net) and
> assign it statically to an IP (213.146.114.24).
> [So now everybody in the world can telnet pukruppa.net and crack
> my private machine :-) ]
>
> From reading manuals one should think, that now I could give my
> machines names like one.pukruppa.net, two.pukruppa.net, etc...
> and all these would be reachable via internet - but they aren't.
> The only one that can be accessed is pukruppa.net .
You need to add A records (or CNAME records) to your DNS
zone pukruppa.net:
one.pukruppa.net. A 213.146.114.24
two.pukruppa.net. A 213.146.114.24
...
Or, alternatively, use CNAME (don't forget the trailing dots)
pukruppa.net. A 213.146.114.24
one.pukruppa.net. CNAME pukruppa.net.
two.pukruppa.net. CNAME pukruppa.net.
...
Setting A records directly saves one additional lookup though.
You could also use Wildcard DNS records (*.pukruppa.net. A ....),
but I wouldn't recommend this.
BTW, you could also use a better PTR record for your IP:
24.114.146.213.IN-ADDR.ARPA domain name pointer reverse-213-146-114-24.dialin.kamp-dsl.de
kamp-dsl will be glad to set up a reverse record for you
if you asked them.
--
Cordula's Web. http://www.cordula.ws/
More information about the freebsd-questions
mailing list