home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / protocol / tcpip / domains / 794 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.8 KB  |  63 lines

  1. Newsgroups: comp.protocols.tcp-ip.domains
  2. Path: sparky!uunet!uunet.ca!smd
  3. From: smd@uunet.ca (Sean Doran)
  4. Subject: Re: Why not automatically do reverse domains?
  5. References: <NELSON.92Dec8111713@cheetah.clarkson.edu> <1gr3hjINNnjk@uniwa.uwa.edu.au> <1992Dec21.195422.19764@eecs.nwu.edu> <1hi0l5INNeke@plts.uucp>
  6. Organization: UUNET Canada
  7. Date: Wed, 30 Dec 1992 07:30:10 GMT
  8. Message-ID: <C02A6C.1oK@uunet.ca>
  9. Distribution: inet
  10. Lines: 51
  11.  
  12. tal@plts.uucp (Tom Limoncelli) writes:
  13.  
  14. >bind 4.8.3 works fine with this.  Am I really breaking the rules by
  15. >having a SOA for warren.mentorg.com as well as "sdl.warren.mentorg.com
  16. >IN CNAME warren.mentorg.com"?
  17.  
  18. It's debatable, but it'll work so long as you remember the trailling
  19. dots :), and so long as sdl.warren.mentorg.com. isn't the target of an
  20. MX RR somewhere.
  21.  
  22. There are lots of zones out there that do much the same thing.
  23.  
  24. Personally, however, I prefer the following boilerplate:
  25.  
  26. @    IN    SOA    ns.x.y.z.    hostmaster.ns.x.y.z. (
  27.             ...
  28.             )
  29.     IN    NS    ns.x.y.z.
  30.     IN    NS    ns.foo.net.
  31.     IN    A    128.1.1.1
  32.     IN    MX    10 mail.x.y.z.
  33.     IN    MX    20 mail.foo.net.
  34.  
  35. ; this MUST have an A record (and also a glue A RR in the parent zone)
  36. ns    IN    A    128.1.1.1
  37.     IN    MX    10 mail.x.y.z.
  38.     IN    MX    20 mail.foo.net.
  39.  
  40. ; this MUST have an A record
  41. mail    IN    A    128.1.1.1
  42.     IN    MX    10 mail.x.y.z.
  43.     IN    MX    20 mail.foo.net.
  44.  
  45. ; and instead of "sdl IN CNAME x.y.z.", we follow the trend...
  46. sdl    IN    A    128.1.1.1
  47.     IN    MX    10 mail.x.y.z.
  48.     IN    MX    20 mail.foo.net.
  49.  
  50.  
  51. The reasoning here is that I don't want sdl to have an SOA RR or a set
  52. of NS RRs associated with it.  The only thing that needs doing now is
  53. the appropriate PTR RR in 1.128.in-addr.arpa., where (I suppose) you
  54. would want to have:
  55.  
  56. ;...
  57. 1.1    IN    PTR    x.y.z.
  58.  
  59. It's a little more work (but not too much), but you avoid all sorts of
  60. potential nastinesses you might run into using just a CNAME RR.
  61.  
  62.     Sean.
  63.