Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-12-2009, 09:13 PM   #1
LQ Newbie
Registered: Jul 2003
Location: London, UK.
Distribution: Gentoo, (K)Ubuntu
Posts: 14

Rep: Reputation: 0
First domain registered, need help with setting up DNS server


I have just registered my first domain at a domain registar in the hope to start up some web sites for myself and friends for various small things.

The easiest option I could find was to use DTC at to manage everything like DNS, WWW, FTP and mail etc on the Xen VPS I currently rent.

My problem is related to DNS, I want to be able to manage subdomains of the domain I registered and be able to host other domains too, I know I need to run my own DNS server but I don't know too much about this.
I also need a backup DNS server, I found that seems to provide this service.

However, I am confused how to set this up, it seems I need to use a glue record in my domain registrars settings with the domain I have just registered and point this to my VPS IP address to be an authorative server, but I only have this single IP and for the glue record settings it needs 2 IP addresses in the web form. Can I use IP of the servers here or do I need another DNS server myself?
When completed the web form I apparently need to send a mail to their support with zone details afterwards (what?!).

Is there a way I test that my DNS server VPS is set up correctly with dig or nslookup before bothering their support when I have a mis-configured server? I try to use dig on the VPS but I keep getting a SERVFAIL status when I try to check my domain like dig @ or
I'm a bit stuck now and don't know how to go about this further, can anyone tell me what I'm missing or what I'm doing wrong?

Many thanks.
Old 03-13-2009, 02:30 PM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
We really need additional information, are you looking to setup forward and reverse dns or just forward? Are you using bind or some other dns package? What distribution are you using, etc.
Old 03-13-2009, 03:11 PM   #3
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,225

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
dns server for linux is 'bind' or 'bind9', if as your profile state you are using kubuntu i think it's 'bind9'
a good starting place would be to install bind9 and 'webmin' ( on your computer you want to use as a DNS server to provide a gui
but without more information such as whether you are pointing this at a local machine on your network, or a machine on the internet, and wether or not you have a static IP to point the domain at
Old 03-13-2009, 03:24 PM   #4
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Why do you think you need to run your own DNS server?

Since, as you are discovering, you generally need to run 2 servers, it's a costly exercise. Try using one of the free services out there like (there are others as well) to do this. Nothing to stop you having subdomains, etc.
Old 03-13-2009, 10:16 PM   #5
LQ Newbie
Registered: Jul 2003
Location: London, UK.
Distribution: Gentoo, (K)Ubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
Wow thanks for all the replies!

I managed to fix it up.
I don't know why I kept getting SERVFAIL response but I restarted bind and I could test with dig after that and it worked fine. Sorry for a wasted thread.
Installing the dtc-toaster package in Ubuntu got all the packages for DTC installed and after a bit of tweaking it all works now and I can manage domains with it.

All I had to do was make a glue record and contact my registrar with name server hostnames of my choice and the IP addresses they point to. I filled in the forms with the IP address of my VPS and the IP of DNS backup service at
DTC provides config for backup DNS server, I added the IP for the backup server and configured it at the web page at and everything looks good now, AXFR transfers seem to be working.

Lot of things still need to figure out but I will get there.

Many thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a Registered Domain teejaytimms Linux - Server 5 10-01-2006 09:47 AM
Setting up DNS for domain - suse10 tangy Linux - Networking 1 01-31-2006 10:56 AM
Same Domain name configuration for local and registered server and Mx rec configure cbekannan Linux - Software 0 02-07-2005 04:46 AM
Registered domain, need help setting up BIND 9 on Redhat 9 ASP Linux - Networking 7 04-15-2004 04:02 PM
FTP SERVER/ w/out registered domain QUESTION cevjr Linux - Networking 3 02-04-2004 05:28 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration