Results 1 to 10 of 10

Thread: How to get DNS?

  1. #1
    Join Date
    Jul 2012
    Beans
    23

    How to get DNS?

    OK, so I recently purchased a domain name from Network Solutions that I would like to attach to my Ubuntu web server that I have recently installed. My website has an IP that can be accessed from anywhere in the world (let's say it is 200.200.200.200 for simplicity's sake). Now, I thought I could just tell Network Solutions my server IP and they could automatically configure that, but why are they asking for at least two DNS name servers, and where should I get that from? It doesn't accept IP's only domain names. So where should I get those from? Is it the domain names of the DNS IP's in /etc/resolv.conf? If so, I can get the domain names using traceroute. Also, after I enter the name server domains, it asks for an IP for each DNS, and it has to be unique too. I only have one IP on my server so what should I input in that case?
    Thanks

  2. #2
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to get DNS?

    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  3. #3
    Join Date
    Apr 2008
    Location
    Far, far away
    Beans
    2,148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to get DNS?

    What you're running into is that apparently Network Solutions doesn't provide DNS servers for you for free (or at all). Typical, since they charge so much for names! But most other competitive registrars in the market do provide DNS servers when you register a name.

    You can either setup your own DNS servers (not really recommended since this means having at least two redundant servers and IPs) or you can use one of the free ones out there. The free ones usually provide multiple redundant servers so this is the better solution for most small web sites.

    As sandyd said, namecheap is good. I've also used sitelutions.com as they offer fast reliable free DNS servers.

    You will want to sign up at one of these, create an A record for your domain and possible MX and CNAME records. Then you will want to write down the IPs of their (namecheap or sitelutions etc) DNS servers and go enter those in your registrar records.

    If you are happy with your DNS server over the next year you may want to support them by later transferring your domain to them. After all they're probably cheaper than NS and they at least give you DNS servers to use.

    BTW I've used name.com for years and they're lower priced and have an excellent DNS server management console.
    Last edited by BkkBonanza; July 29th, 2012 at 11:10 AM.
    Send tips to: 17raXAGM42vZX21Vcb5HDwq2GMLmVwN4qd

  4. #4
    Join Date
    Jul 2012
    Beans
    23

    Re: How to get DNS?

    Thanks, I just used freedns.com, and set up my domain name with them. It should be working now. I just need to wait for the changes to propagate through the internet.

  5. #5
    Join Date
    Apr 2008
    Location
    Far, far away
    Beans
    2,148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to get DNS?

    Don't wait too long.
    DNS changes nowadays propagate in minutes not hours or days.
    Send tips to: 17raXAGM42vZX21Vcb5HDwq2GMLmVwN4qd

  6. #6
    Join Date
    Jul 2012
    Beans
    23

    Re: How to get DNS?

    It's been over a day now, and I'm still getting that crappy network solutions under construction page at home. Although, it's fine from my computer at work, so I know I set up the DNS properly. I'll give it another day, and then I'll give Network Solutions a call if nothing changes. Either there's some sort of weird caching going on (which is strange cause it's server-side code that's not getting updated) or propagation is slow on my end.

  7. #7
    Join Date
    Apr 2008
    Location
    Far, far away
    Beans
    2,148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to get DNS?

    You should check the DNS caches at OpenDNS here,

    http://www.opendns.com/support/cache/

    If your local DNS isn't getting it then it's not Network Solutions fault. It's your ISP. And many ISP are known to be lousy at handling DNS correctly.

    Your best bet is to not use your ISP DNS servers. Change your home settings to use Google DNS (8.8.8.8, 8.8.4.4) or OpenDNS servers (208.67.222.222, 208.67.220.220).

    Check your DNS server records TTL values. They should not be too long. I'd suggest 300 seconds if you are expecting to change soon and maybe 1800 seconds if your DNS is stable.
    Send tips to: 17raXAGM42vZX21Vcb5HDwq2GMLmVwN4qd

  8. #8
    Join Date
    Jul 2012
    Beans
    23

    Re: How to get DNS?

    Perfect, that did the trick! I updated resolv.conf, restarted the network and there it was.

  9. #9
    Join Date
    Jul 2012
    Beans
    23

    Re: How to get DNS?

    Just a question, on my laptop (not the server), resolv.conf had a nameserver of 127.0.0.1. Also, interfaces did not contain any info on dns nameservers. So how does my computer resolve domain names? I mean on my server, I had to configure that, but does it work differently on the home version of Ubuntu?

  10. #10
    Join Date
    Apr 2008
    Location
    Far, far away
    Beans
    2,148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to get DNS?

    Most home users use DHCP which will generally update the local DNS servers according to your router settings. If you have Network Manager running then it takes care of that for you but I'm not sure where it stores the values. I don't use Network Manager myself now but I read that the newer versions have a DHCP option that allows still setting fixed DNS servers locally.
    Send tips to: 17raXAGM42vZX21Vcb5HDwq2GMLmVwN4qd

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •