Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th May 2006, 21:54
Hyakugei Hyakugei is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default DNS, rDNS, NAT and vhosts, oh my!

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!

Thanks,
jos
Reply With Quote
Sponsored Links
  #2  
Old 19th May 2006, 15:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Hyakugei
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.
Yes, that's true.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th May 2006, 16:23
Hyakugei Hyakugei is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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.

Thanks!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.