Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Domain name resolution

Posted on 2008-10-16
11
Medium Priority
?
368 Views
Last Modified: 2013-12-16
I have a doubt regarding domain name resolutuion.

I notice that three or four domain name has same DNS server in the whois command otput.

eg.

xyx.com

abc.com

How this dns server is configured using bind on linux?

Can u explain me the configuration?


Regards,

Alias  
0
Comment
Question by:crapidontwant
8 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 22729268
A DNS server can be configured to have any number of domains, whether it is running BIND or any other DNS server.
0
 

Author Comment

by:crapidontwant
ID: 22729279
Can u explain it through sample configuration file?
named.conf
forward zone file
reverse zone file etc
0
 
LVL 20

Accepted Solution

by:
edster9999 earned 2000 total points
ID: 22729520
in your named.conf file you would have something like :


zone "abc.com" IN {
        type master;
        file "pri/abc.com";
        allow-update { none; };
        notify no;
};
 
zone "xyx.com" IN {
        type master;
        file "pri/xyx.com";
        allow-update { none; };
        notify no;
};
 
 
zone "111.222.333.in-addr.arpa" {
        type master;
        file "pri/111.222.333.rev";
        allow-update { none; };
        notify no;
};

Open in new window

0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 20

Expert Comment

by:edster9999
ID: 22729540
example pri/abc.com file :
$TTL 10800
@                       IN      SOA     abc.com. hostmaster.abc.com.  (
                                          2008101601 ; Serial
                                          1h         ; Refresh
                                          1h         ; Retry
                                          1w         ; Expire
                                          1h )       ; ttl for negative responses
 
                        IN      NS      ns1.abc.com.
                        IN      NS      ns2.abc.com.
 
                        IN      MX      10      mail.abc.com.
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
www            IN      A       111.122.133.144
ns1            IN      A       111.122.133.144
ns2            IN      A       111.122.133.144

Open in new window

0
 
LVL 20

Expert Comment

by:edster9999
ID: 22729549
example reverse file
pri/111.222.333.rev :


$TTL 10800
@       IN      SOA     ns1.abc.com. hostmaster.abc.com.  (
                        2008101600 ; Serial
                        3h         ; Refresh
                        1h         ; Retry
                        1w         ; Expire
                        1h )       ; ttl for negative responses
 
                IN      NS      ns1.abc.com.
                IN      NS      ns2.abc.com.
 
 
123             IN      PTR     www.abc.com.
124             IN      PTR     something.abc.com.

Open in new window

0
 

Author Comment

by:crapidontwant
ID: 22729761
Yes, this is what i look for.

Excellent support.

Thanks a lot.
0
 
LVL 1

Expert Comment

by:djashley
ID: 22746347
The DNS server is the pointer for those domains.

abc.com => 10.10.10.1
xyz.com => 10.10.10.1

The bind software is configured to resolve these zone
zone abc.com  => record details (SOA, A, CNAME, www, mail)
zone xyz.com  => record details (SOA, A, CNAME, www, mail)
0
 
LVL 20

Expert Comment

by:edster9999
ID: 22903178
Hi Rindi -
The question was for explanation of how the config file work for DNS.  I provided basic files and in response 22729761 he said
"Yes, this is what i look for.  Excellent support."

So I think that answers it.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month7 days, 4 hours left to enroll

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question