• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 286
  • Last Modified:

is BIND (DNS) dynamic in linux

DNS server in windows will automatically store IP relevant to host names.  does BIND work same way or IP and host name has to be added manually.  I have been trying to configure DNS (named.conf) on my Linux but having some difficulties. is there a tutorial that show how to do that step-by-step?

thanks
0
rawandnet
Asked:
rawandnet
4 Solutions
 
g000seCommented:
Hello,

This link may help you or at least point you in the right direction.  http://www.labtestproject.com/linnet/dns-server.html
0
 
g000seCommented:
0
 
fosiul01Commented:
Hi
what are you trying to do ??

1. is this just for dns server for your internal network ??

2. are you trying to set zone record for your domain ??

if 1. then after installing bind , you need to look options call caching-nameserver

so you need to install

yum install bind caching-nameserver

now in named.conf or

/etc/named .caching-nameserver.conf

you will see a section call
view localhost resolver

in their
match clients {  localhost; 192.168.1.0/24 ;}
match desticion { localhost; 192.168.0/24;}

also
under options {
allow query [ ANY;}

}


thsi should allow internal network to use your dns server for dns query
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
fosiul01Commented:
0
 
fosiul01Commented:
for setting up localhost resolver

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch18_:_Configuring_DNS

try to read fully but main is the bellow section ..

The Caching Nameserver localhost_resolver View
0
 
jar3817Commented:
To allow dynamic updates in Bind all you need to do is add this to the zone definition you want to enable it for in your named.conf:

allow-update { address_match_list; };

"address_match_list" can be IP address, CIDR network address, or ACL names defined in your config.

example:
allow-update { "10.1.1.0/24"; }; // would allow any host 10.1.1.0-254 to update the zone
0
 
darrickhartmanCommented:
If all you want is a local caching server, you might look at dnsmasq instead.  Bind can perform the functions you need, but dnsmasq has a simpler syntax.

http://www.thekelleys.org.uk/dnsmasq/doc.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now