Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> DNS setup on my new VPS
post Nov 8 2006, 12:38 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 8-November 06
Member No.: 7,700

I recently purchased a VPS package from a service provider. I have Debian 3.1 system and BIND as the DNS server. And, I need help setting up DNS on it!! I have a static IP assigned to my server - let us pretend it to be
Now, I also have was provided with two DNS server IPs by my host.

My domain names are registered with a different registrar than my host. Let us assume my domain is

I have provided a copy of the two config files (which I think are significant) for setting up DNS server. Please review and suggest if I need to add or remove any information to setup my own DNS - Basically, where my domain names are registerd I want to give NS1.MYDOMAIN.COM and NS2.MYDOMAIN.COM as my DNS servers for my domain name (which is MYDOMAIN.COM). So, when I ping MYDOMAIN.COM or go to WWW.MYDOMAIN.COM i want that domain to resolve to my statically assigned ip which is

Thank you in advance with any help you can provide.

The following is the copy of my named.conf file

// This is the primary configuration file for the BIND DNS server named.
// Please read /usr/share/doc/bind/README.Debian for information on the
// structure of BIND configuration files in Debian for BIND versions 8.2.1
// and later, *BEFORE* you customize this configuration file.

include "/etc/bind/named.conf.options";

// reduce log verbosity on issues outside our control
logging {
category lame-servers { null; };
category cname { null; };

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";

zone "" {
type master;
file "/etc/bind/db.127";

zone "" {
type master;
file "/etc/bind/db.0";

zone "" {
type master;
file "/etc/bind/db.255";

// add local zone definitions here
include "/etc/bind/named.conf.local";

// bind Data BEGIN.

// dmn [] cfg entry BEGIN.
zone "" {
type master;
file "/var/cache/bind/";
// dmn [] cfg entry END.

// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.

// bind Data END.

And, this is what my /var/cache/bind/ file looks like:

/etc/bind# cat /var/cache/bind/
$TTL 86400
@ IN SOA (
; dmn [] timestamp entry BEGIN.
; dmn [] timestamp entry END.
1D )
IN MX 10 A
ns IN A
mail IN A
; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th June 2018 - 02:55 AM