DNS Setup

Discussion in 'Apache' started by martinvidic, Mar 14, 2007.

  1. #1
    Hello everytbody

    Can anybody tell me the difference between an

    A record
    NS record
    Proxi record

    I am not quit sure wich to use and how to setup...

    I used to use a proxirecord for one of the domains i bought, ( and it pointet to my_other_domains/folder1

    HOw should i setup the Domain if i want it to be independent...
    When o used the proxi record, sometimes the url changed to my_other_domain/folder1 an people also linked to the information on the wrong domain.

    The 2nd domain has nothing to do with the first domain...

    Thanks for any help on this...
    Regards
    MaVi
     
    martinvidic, Mar 14, 2007 IP
  2. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #2

    An A record is an address or sometimes called a host record. Each IP address can be assigned one or more host records. For example, you might run an FTP and web server on your box at IP address www.xxx.yyy.zzz. So, in your DNS zone file for your domain, you would declare an A record for your webserver (say, www), and also declare an A record for your FTP server (say, ftp).

    NS records, or nameserver records, are used to indicate which nameservers are authoritative for a given zone (or domain) Every domain zone must have one or more of these to be accessible.

    Not sure what proxi records are.

    Setting up your DNS depends on which DNS server software you are using - most of them have slightly different configuration directives.
     
    ThreeGuineaWatch, Mar 14, 2007 IP
  3. martinvidic

    martinvidic Guest

    Messages:
    182
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    First of all thanx for the info :)

    So when i want to point aaa.com to bbb.com/ccc
    Its not necessary to make a NS record... right.
    And it also wouldnt be possible becasue ns records only accept IP addresses.

    An A record wouldnt work either becuase it also only accepts IP addresses.

    When i redirect the url, aaa.com changes to bbb.com/ccc after entering
    ( only happens with this host and there is no option top chang4e this )

    The proxi record somehow works, but the help says its something artificial.
    And sometimes it still changes back to the old domain.

    Any suggestion with which record i should setup the domain.

    I can i ask my host do give my aaa.com/bbb an ip address.

    Thanks.... mavi
     
    martinvidic, Mar 15, 2007 IP
  4. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Hi again,

    An NS record is for answering requests about who holds authoritative information for a particular domain.

    You can accomplish what you are doing by using an HTTP redirect, or by altering your Apache configuration if the domains are on the same filesystem. Traditionally DNS has been used to map IP addresses to nodes in the name space. Server sub-directories are not considered to be distinct nodes in the name space - however there might be extensions to handle those cases in DNS now.
     
    ThreeGuineaWatch, Mar 15, 2007 IP