Need help with BIND - DNS configuration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amanita
    Registered User
    • Aug 2003
    • 24

    #1

    Need help with BIND - DNS configuration

    Hi gang,

    It seems that I may be having DNS troubles .. I'd like some help if anybody is capable. As a side note, I'd like users to be able to drop the www. in front of the domain and still hit the website .. what do I need to do to accomplish this?

    Thanks guys/gals!



    [ begin record - this text not part of the actual record file ]


    $TTL 3600
    @ in soa ns.lactatingbabe.com. postmaster.lactatingbabe.com. (
    2003080701 ;serial
    4H ;refresh
    2H ;retry
    1D ;expiration
    1H ) ;minimum

    ns ns.lactatingbabe.com.
    mx 10 mail.lactatingbabe.com.

    ns a 209.167.201.6
    www a 209.167.201.6
    mail a 209.167.201.6


    [ /end record - this text not part of the actual record file ]
  • NetRodent
    Confirmed User
    • Jan 2002
    • 3985

    #2
    Just add an ""A" line with no hostname. You're also going to need to change your httpd.conf (assuming you run apache).

    -------

    $TTL 3600
    @ in soa ns.lactatingbabe.com. postmaster.lactatingbabe.com. (
    2003080701 ;serial
    4H ;refresh
    2H ;retry
    1D ;expiration
    1H ) ;minimum

    ns ns.lactatingbabe.com.
    mx 10 mail.lactatingbabe.com.

          a 209.167.201.6
    ns a 209.167.201.6
    www a 209.167.201.6
    mail a 209.167.201.6

    -----------------------------
    Last edited by NetRodent; 08-14-2003, 09:45 AM.
    "Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
    --H.L. Mencken

    Comment

    • Mojo Rizin
      Confirmed User
      • Dec 2002
      • 1089

      #3
      Looks like you need an A record for lactatingbabe.com

      I see one for www.lactatingbabe.com not for lactatingbabe.com

      Start Making Reel Profits Today!

      VOIP Technology Is NOW

      Comment

      • Mojo Rizin
        Confirmed User
        • Dec 2002
        • 1089

        #4
        You need something like

        lactatingbabe.com A 209.167.201.6

        Start Making Reel Profits Today!

        VOIP Technology Is NOW

        Comment

        • NetRodent
          Confirmed User
          • Jan 2002
          • 3985

          #5
          Originally posted by Mojo Rizin
          You need something like

          lactatingbabe.com A 209.167.201.6
          That would make lactatingbabe.com.lactatingbabe.com = 209.167.201.6.
          "Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
          --H.L. Mencken

          Comment

          • Mojo Rizin
            Confirmed User
            • Dec 2002
            • 1089

            #6
            huh?? How so..

            That record doesnt even exsist

            Start Making Reel Profits Today!

            VOIP Technology Is NOW

            Comment

            • swedguy
              Confirmed User
              • Jan 2002
              • 7981

              #7
              Originally posted by Mojo Rizin
              huh?? How so..

              That record doesnt even exsist
              You forgot a "." after the domain.

              Comment

              • Mojo Rizin
                Confirmed User
                • Dec 2002
                • 1089

                #8
                okay sorry.. your right

                Start Making Reel Profits Today!

                VOIP Technology Is NOW

                Comment

                • amanita
                  Registered User
                  • Aug 2003
                  • 24

                  #9
                  Awesome!

                  I was not aware that you could have an "A" record without a "prefix"

                  Thanks for the help guys! It now works.


                  On another note:

                  I've been looking into why some people are not able to load my website .. it seems as though my name server ns1.auroraservers.net is not resolving ... odd ...

                  I changed all of my "times" to lower values because I anticipate an IP address change soon .. and wanted to be prepared. All I did was change the refresh, etc times and the serial numbers for all hosted domains ... I wonder why I would suddenly have troubles?!

                  If anybody is seriously bored, do you want to look into this with me? :D


                  [ begin record - this text not part of the actual record file ]

                  $TTL 3600
                  @ in soa ns1.auroraservers.net. postmaster.auroraservers.net. (
                  2003081401 ;serial
                  4H ;refresh
                  2H ;retry
                  1D ;expiration
                  1H ) ;minimum

                  ns ns1.auroraservers.net.
                  mx 10 mail.auroraservers.net.

                  ns a 209.167.201.6
                  ns1 a 209.167.201.6
                  www a 209.167.201.6
                  ftp a 209.167.201.6
                  mail a 209.167.201.6

                  [ /end record - this text not part of the actual record file ]

                  Comment

                  • amanita
                    Registered User
                    • Aug 2003
                    • 24

                    #10
                    Just updated my domain to allow for the exclusion of www. and it works flawlessly. Thanks for the help on that one guys

                    Comment

                    Working...