Solved

is BIND (DNS) dynamic in linux

Posted on 2009-07-10
7
272 Views
Last Modified: 2013-12-15
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
Comment
Question by:rawandnet
7 Comments
 
LVL 11

Expert Comment

by:g000se
ID: 24822760
Hello,

This link may help you or at least point you in the right direction.  http://www.labtestproject.com/linnet/dns-server.html
0
 
LVL 11

Assisted Solution

by:g000se
g000se earned 100 total points
ID: 24822764
0
 
LVL 29

Accepted Solution

by:
fosiul01 earned 200 total points
ID: 24822855
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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 29

Expert Comment

by:fosiul01
ID: 24822871
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24822919
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
 
LVL 26

Assisted Solution

by:jar3817
jar3817 earned 100 total points
ID: 24824838
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
 
LVL 7

Assisted Solution

by:darrickhartman
darrickhartman earned 100 total points
ID: 24831085
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

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ubuntu not booting - How get past GRUB? 3 57
ISP Change 14 63
Samba Question 11 73
Running linux commands into linux system remotely using powershell 6 39
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

809 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