• HEXUS
  • HEXUS.tv
  • channel
  • gaming
  • lifestyle
  • trust
  • community
  • ESReality
  • HEXUS.community discussion forumsVisit Corsair.com

    Welcome to the HEXUS.community discussion forums forums.

    You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Networking and Broadband

    Networking and Broadband ADSL, cable, internet and network advice and chat Add RSS Feed

    Reply
     
    LinkBack Thread Tools
    Old 17-08-2005, 11:21 AM   #1 (permalink)
    Administrator
     
    Moby-Dick's Avatar
     
    Join Date: Jul 2003
    Location: There's no place like 127.0.0.1
    Posts: 8,277
    Thanks: 4
    Thanked 88 Times in 77 Posts
    Everything you wanted to know about DNS records but were afraid to ask

    all credit for this goes to Miggyman who wrote such a nice post on DNS record types , I felt it needed recording for posterity.

    please direct your gifts and admiration to him.

    ---------------------------------------------------

    For those interested, your basic dns records are as follows

    A = Address record, A records are used to map an IP address to a hostname or subdomain.

    CNAME = Canonical name, a CNAME record refereces another record, effectivley making it an alias, normaly used to map a subdomain to an existing domain.

    MX = Mail exchanger, an MX record specifies a mail server for the domain, normaly more than one will be specified and they will be given a priority to denote which server to try first (for backup mail servers etc)

    NS = Name server, an NS record lists the DNS servers responsible for the domain, again more than one can and normaly is provided so if the primary server fails a backup can be used.

    PTR = Pointer, a PTR record is used to resolve an ip address to a name, PTR records are what make reverse lookups work.

    SOA = Start of authority, a SOA record contains a lot of the basic information about the domain relating to how updates should be handled, primary name server and contact detail.

    And because im a nice guy.. you can all have a nice example zone file

    - = SOA record = -
    -------------------
    @ IN SOA ns0.example.com. hostmaster.example.com. (
    2005081701 ; Serial
    10800 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum

    - = MX Record2 = -
    -------------------
    MX 5 mx1.example.com.
    MX 5 mx2.example.com.

    - = NS Records = -
    ------------------
    IN NS ns0.example.com.
    IN NS ns1.example.com.

    - = A Records = -
    ----------------
    @ IN A 999.888.777.666
    cvs IN A 888.888.888.888

    These effectivley map example.com to 999.888.777.666 (yes, i know it's invalid!) and cvs.example.com to 888.888.888.888.

    It's worth noting this a record is special since the "@" means all destinations not setup in the zone file for this domain goto this, this is effectivley the "base" level of the dns.

    - = CNAME Record = -
    ----------------------
    www IN CNAME example.com.

    This maps the www subdomain (yes, it is actualy a subdomain :O) to example.com, any changes made to the record for example.com automaticly filter back to www, www.example.com will go to 999.999.999.999, subdomains can basicly be pointed anywhere you want to point them

    I've not listed a PTR record in this zone file because well, it wouldnt go in one, the PTR records would go into a zone file for the IP range as oppsed to the hostname, such a file would be named 777.888.999.in-addr.arpa and the PRT records would be specified using the last octet.

    So for example.com we'd have a PTR record like this

    666 IN PTR example.com.



    This has been an InfoMiggy broadcast for the rubber chicken network



    Moby-Dick is online now   Reply With Quote
    Old 17-08-2005, 11:29 AM   #2 (permalink)
    HEXUS.timelord.
     
    Zak33's Avatar
     
    Join Date: Jul 2003
    Location: In Sunny England
    Posts: 20,484
    Thanks: 356
    Thanked 217 Times in 146 Posts
    Zak33's system
    Miggy......my man....

    that is good and I know it's good (now)

    |
    Originally Posted by wombar View Post
    I've got a 30" monitor which keeps my room nice and warm, it's better than a radiator. Gives you a good tan as well
    Zak33 is online now   Reply With Quote
    Old 06-05-2006, 08:56 PM   #3 (permalink)
    Cable Guy
     
    Jonny M's Avatar
     
    Join Date: Jul 2003
    Location: Loughborough Uni
    Posts: 4,278
    Thanks: 0
    Thanked 4 Times in 1 Post
    Blast from the past, I'm going to post in this thread.

    Is there anything wrong with not having a "www" entry? Is the redirecting of http://www.example.com to http://example.com done in Apache / web server of choice?

    How can you have http://caged.net work, but not http://randomsubdomain.caged.net (if I read you right, setting @ in the A records would make every random sub domain entry work?
    Jonny M is offline   Reply With Quote
    Old 06-03-2008, 01:50 PM   #4 (permalink)
    Hellsteeth!
     
    Join Date: Apr 2007
    Location: Gotham City
    Posts: 322
    Thanks: 3
    Thanked 2 Times in 2 Posts
    Lord Midas's system
    re: Everything you wanted to know about DNS records but were afraid to ask

    Nice old thread. I'm pretty sure I didn't understand any of that

    Lord Midas is offline   Reply With Quote
    Old 06-03-2008, 03:18 PM   #5 (permalink)
    HEXUS.social member
     
    Funkstar's Avatar
     
    Join Date: Aug 2005
    Location: Aberdeen
    Posts: 12,132
    Thanks: 172
    Thanked 297 Times in 267 Posts
    Funkstar's system
    re: Everything you wanted to know about DNS records but were afraid to ask

    For once, this is a good bump

    Hadn't seen this thread before. Tis a good read.
    Funkstar is offline   Reply With Quote
    Old 06-03-2008, 04:22 PM   #6 (permalink)
    Senior Member
     
    Join Date: Aug 2005
    Location: Southampton/Portsmouth
    Posts: 3,196
    Thanks: 50
    Thanked 193 Times in 187 Posts
    peterb's system
    re: Everything you wanted to know about DNS records but were afraid to ask

    It is - and well worth its sticky status.

    Is YOUR system up to Folding?

    There are 10 types of people who understand binary - those that do... and those that don't.

    Last edited by peterb; 06-03-2008 at 04:30 PM..
    peterb is offline   Reply With Quote
    Old 06-03-2008, 04:40 PM   #7 (permalink)
    Network|Geek
     
    kidzer's Avatar
     
    Join Date: Jul 2005
    Location: Aberdeenshire
    Posts: 1,396
    Thanks: 29
    Thanked 16 Times in 15 Posts
    kidzer's system
    re: Everything you wanted to know about DNS records but were afraid to ask

    I've read it a few times, and its still a good read.

    How geeky am I, saying its a good read, I say the same about my CCNA Routing Protocols book!

    "If you're not on the edge, you're taking up too much room!"
    - me, 2005
    kidzer is offline   Reply With Quote
    Old 24-04-2008, 04:07 PM   #8 (permalink)
    Gentoo Ricer
     
    Join Date: Jan 2005
    Location: /var/portage
    Posts: 4,259
    Thanks: 19
    Thanked 107 Times in 102 Posts
    aidanjt's system
    re: Everything you wanted to know about DNS records but were afraid to ask

    Originally Posted by Jonny M View Post
    Blast from the past, I'm going to post in this thread.

    Is there anything wrong with not having a "www" entry? Is the redirecting of Example Web Page to Example Web Page done in Apache / web server of choice?

    How can you have caged.net work, but not caged.net (if I read you right, setting @ in the A records would make every random sub domain entry work?
    No, there's nothing stopping you from using just the root domain as a webserver, typically when you type (for e.g.) microsoft.com, either the browser can connect to it and gets a redirect to the www. address, or the domain host refuses the connection (because there's no httpd) and the browser automatically tries to prefix the address with www. to see if it has any better luck. However, that said, it's normally best practice to keep http and dns servers on logically or physically separate hosts, as a sort of security padding, but not particularly necessary, on some hosts it doesn't make a difference, depending on how it's set up, usually www. subhosts are just CNAMEs, or A's to a virtual nic, because it's cheaper.

    Main Rig -> J&W RS780UVD-AM2+ | AMD X4 9750 | 4x2GB GieL PC2-6400 | 2x500GB (md-raid0) | Sapphire HD4870 | Gentoo (AMD64)
    Server Box -> Asus P5B-E Plus | C2D E6320 | 2x1GB OCZ PC2-8500 | 4x500GB (md-raid5) | BFG 8800GTS 320Mb | Gentoo (Hardened/AMD64)
    Test Box -> P4E 3.2Ghz Rev. E0 | Asus P4C800-E Deluxe | 2x1GB PC3200 | 1x500Gb | NVidia TNT 2 | Gentoo (X86)

    Currently breaking: eINIT
    aidanjt is offline   Reply With Quote
    Old 11-11-2008, 03:12 PM   #9 (permalink)
    Registered User
     
    Join Date: Nov 2008
    Posts: 4
    Thanks: 0
    Thanked 0 Times in 0 Posts
    re: Everything you wanted to know about DNS records but were afraid to ask

    Just wondering...didn't you mean "were" instead of "where" in your thread name ?
    ".........know about DNS records but where afriad to ask"
    other than that, thanks for this post
    Kay-Q is offline   Reply With Quote
    Old 11-11-2008, 03:29 PM   #10 (permalink)
    I R Pandi!
     
    TAKTAK's Avatar
     
    Join Date: Mar 2008
    Location: Vergon6
    Posts: 3,325
    Thanks: 180
    Thanked 256 Times in 227 Posts
    TAKTAK's system
    re: Everything you wanted to know about DNS records but were afraid to ask

    Originally Posted by Kay-Q View Post
    Just wondering...didn't you mean "were" instead of "where" in your thread name ?
    but thats just nit-picking...

    if you followed the same lines then you'd have to pick out the 'afriad' in the title too


    NewUsers Clickys: Post Counts and Other Rewards, Guidelines, Folding@Home.
    *Shamelessly TWOCed from Stevie
    TAKTAK is offline   Reply With Quote
    Old 11-11-2008, 03:33 PM   #11 (permalink)
    Administrator
     
    Moby-Dick's Avatar
     
    Join Date: Jul 2003
    Location: There's no place like 127.0.0.1
    Posts: 8,277
    Thanks: 4
    Thanked 88 Times in 77 Posts
    Re: Everything you wanted to know about DNS records but were afraid to ask

    title changed to please the pedants.



    Moby-Dick is online now   Reply With Quote
    Old 11-11-2008, 03:40 PM   #12 (permalink)
    Jay
    AKA Ted
     
    Jay's Avatar
     
    Join Date: Aug 2006
    Location: Jita
    Posts: 3,680
    Thanks: 39
    Thanked 121 Times in 96 Posts
    Jay's system
    Re: Everything you wanted to know about DNS records but were afraid to ask

    It may be worth also mentioning that the minimum TTL should be 43200. Having less than that can some times put you on blacklists such as SORBS.

    □ΞVΞ□
    Jay is offline   Reply With Quote
    Old 21-11-2008, 10:24 AM   #13 (permalink)
    Registered User
     
    Join Date: Nov 2008
    Posts: 1
    Thanks: 0
    Thanked 0 Times in 0 Posts
    nickadam's system
    Re: Everything you wanted to know about DNS records but were afraid to ask

    Hi Admin

    Not only Miggyman, but you also wrote very well about DNS.
    I forgot to tell.. I am Nick Adam from NY. I am new to this forum and this is my first post.

    Coming back with some cool stuff.


    Nick
    nickadam is offline   Reply With Quote
    Reply

    Breadcrumb
    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Networking and Broadband


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools

    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
    Trackbacks are On
    Pingbacks are On
    Refbacks are On
    Forum Jump

    Similar Threads
    Thread Thread Starter Forum Replies Last Post
    Compact Disc Digital Audio Zak33 Audio/Visual - Standard and HD 20 06-08-2004 03:12 PM
    Need a DNS expert Steve Networking and Broadband 2 26-04-2004 12:32 PM
    ADSL DNS nightmare... I think it's DNS anyhoo Tumble Networking and Broadband 5 03-03-2004 12:02 PM
    Forum Speed DR General discussion 10 04-01-2004 10:58 AM



    All times are GMT. The time now is 05:33 PM.

    Any representations/statements made on the HEXUS.community discussion forums are the representations/statements of the author i.e. the person/organisation making them. If any such representations/statements are disputed they are a matter between the parties concerned. HEXUS Limited accepts no responsibility for any misrepresentations, inaccurate or false statements made by any person/organisation other than HEXUS Limited employees.
    Powered by vBulletin® Version 3.7.4
    Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
    Content Relevant URLs by vBSEO 3.2.0
    © Copyright 2008 HEXUS® Limited. All rights reserved. Unauthorised reproduction strictly prohibited.