DNS, rDNS, NAT and vhosts, oh my!

Discussion in 'Installation/Configuration' started by Hyakugei, May 18, 2006.

  1. Hyakugei

    Hyakugei New Member

    Hey all. I've been reading and implementing all the goodness found in the last 2 DNS related HowTos (Traditional DNS and Two-in-one DNS server with BIND9). I'm now a bit stuck on one issue. I have several (5) domains which i'm hosting on my server (in the basement). In front of the server i have a NAT dsl/router - so basically i have a single IP for all my domains (using virtual hosting - currently IIS, but moving to ubuntu with Lighttpd).

    I'm unclear on how to setup the reverse DNS record(s). In the tutorial it goes in the named.conf file, which seems to indicate that you can only have 1 rDNS entry per IP address.

    Can i move the rDNS entry:

    zone "158.253.70.in-addr.arpa" {
    type master;
    file "pri.158.253.70.in-addr.arpa";

    into the named.conf.local file, where all the domains are? How do i set it to point to the right domain(s)?

    I haven't edited the main named.conf file, except to add (so its the default you get with bind9 on ubuntu dapper):

    include "/etc/bind/named.conf.local";

    Basically, any help with setting up the rDNS entries for multiple domains which all share a single IP address would be great!

  2. falko

    falko Super Moderator ISPConfig Developer

    Yes, that's true.
  3. Hyakugei

    Hyakugei New Member

    Ok, if that's the case, i'm guessing that the best domain for the rDNS entry is the one for the email server. From my reading, it seems that mailservers use rDNS to check to see if a server is a spam server or not.


Share This Page