[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Reverse DNS question



Michael Aronoff wrote:

> OK, I am a little confused by things I am being told and reading in DNS and
> BIND and I was hoping to get it from a cobalt DNS expert (Jeff?  ;-) ).  OK
> I got my ISP to forward reverse requests for my IP's so that I can even
> start to de this right.  I read that I should only have one PTR per IP.  How
> does that affect Domains on a shared IP?

Pick one domain for your IP# to point to.  For example, do you own
"ciic.com"? (from your return address)?  If you do, then you can have
the ptr record point to ciic.com.

For example:

  [admin admin]$ nslookup 209.250.124.146
  Server:  ns1.ns-one.net
  Address:  209.126.152.18

  Name:    riverside1.nobaloney.net
  Address:  209.250.124.146

  [admin admin]$

209.250.124.146 is one of the IP#s assigned to my sDSL line that
services my home.  My home is in riverside.  So I have all the IP#s
assigned to my sDSL line reversing to "riversideX.nobaloney.net" where
"X" is the number; I have five of them.

Here's a copy of my zone file for "nobaloney.net":

  ;       nobaloney.net  domain lookup file
  
  @        IN SOA    ns1.cari.net. domain_control.cari.net. (
              200004151503 ; serial number
              43200      ; refresh every 12 hours
              7200       ; retry after 2 hours
              1209600    ; expire after 2 weeks
              43200)     ; default ttl is 12 hours
  
  
  ; NS
  @       IN      NS      ns1.ns-one.net.
  @       IN      NS      ns2.ns-one.net.
  @       IN      NS      ns3.ns-one.net.
  
  ; MX
  @       IN      MX      10      mail.nobaloney.net.
  
  ; A
  @       IN      A       209.126.157.68
  car01   IN      A       209.126.128.251
  freeparking     IN      A       209.126.157.79
  mail    IN      A       209.126.128.251
  pop3    IN      A       209.126.128.251
  riverside1      IN      A       209.250.124.146
  riverside2      IN      A       209.250.124.147
  riverside3      IN      A       209.250.124.148
  riverside4      IN      A       209.250.124.149
  riverside5      IN      A       209.250.124.150
  riversidegateway        IN      A       209.250.124.145
  smtp    IN      A       209.126.128.251
  www     IN      A       209.126.157.68
  
  ; CNAME
  ftp     IN      CNAME   www

(The most important thing to notice is that I don't really "own" my own
name-servers; I'm renting virtual name-servers from "cari.net".  That's
why the top line of hte SOA has them in it as a contact.  I am currently
building my own name-servers, though, so I'll have my own soon enough.)

Note also that there's NO "PTR" record.  That's because the PTR record
is NOT part of the nobaloney.net domain.

Currently I'm not doing reverse DNS; I'm waiting until I have my own
name-servers before I do.  When I do my own reverse DNS, I'll host dns
for my own subdomains of the in-addr.arpa domain, and have my own zone
files for my reverse DNS.

If you've got any questions about it please write and ask; it'll be a
learning experience for all of us.

Jeff

-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205