crapidontwant
asked on
Domain name resolution
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
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
A DNS server can be configured to have any number of domains, whether it is running BIND or any other DNS server.
ASKER
Can u explain it through sample configuration file?
named.conf
forward zone file
reverse zone file etc
named.conf
forward zone file
reverse zone file etc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
example reverse file
pri/111.222.333.rev :
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.
ASKER
Yes, this is what i look for.
Excellent support.
Thanks a lot.
Excellent support.
Thanks a lot.
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)
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)
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.
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.