LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-02-2019, 05:15 PM   #1
etpoole60
Member
 
Registered: Jan 2008
Posts: 111

Rep: Reputation: 0
BIND9 DNS on CentOS 7


I'm attempting to setup DNS on one of my CentOS 7 machines. I'm doing this because my /etc/hosts file is now beyond 150 entries and attempting to keep everything in sync across 40+ machines is not working (especially on my Win 7 machines).

So I thought doing this would be pretty easy because BIND is old and well used and there should be many tutorials on the internet on how to do this - there are many tutorials out there but the 6 I tried don't seem to work for me. The last one I tried seemed to work initially until I tried to start the slavedns on the second machine I get the following message:

Jun 02 18:00:49 jpdsys3.jpdesignsinc.com named[23247]: transfer of 'jpdesignsinc.com/IN' from 192.168.1.135#53: failed while receiving responses: NOTIMP

Both of these machines have been in service for some time and each has 6 physical NICs, so I decided to use NICs that are not the same as the FQDN of the machines. All of the tutorials I saw used the FQDN IP address. Could this be a part of my issue? Also, Every one of the examples I saw on You Tube shows the install being done on VMs and that seems to me as not correct for use on my entire domain. Plus, how do I migrate /etc/hosts file entries to DNS or do I continue to maintain them both?

TIA
Gene
 
Old 06-02-2019, 07:06 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
I gave up trying to use bind awhile back and rely today on name servers provided by my ISP (at home) and my data center for domain name resolution.

That said, in order for the folks here to help you, we need to know what you've done and what, explicitly, doesn't work.
Some questions I thought of:
How did you install named?
Are you primarily concerned about resolving domain names within your intranet?
Do you have any requirement for doing name resolution for the internet?
Do you have any need to provide authoritative name resolution for a real domain name?
Generally, what are you trying to accomplish?
To get specific help, you'll need to provide specifics of the problems you are having.

For example: Your example is of a subdomain for a (presumably) real domain name. If you want to define a subdomain to a domain, you have to do that on that domains authoritative name server...you can't do it arbitrarily on just any name server.
Which gets us back to the "What are you trying to accomplish?" question.
 
Old 06-02-2019, 08:56 PM   #3
etpoole60
Member
 
Registered: Jan 2008
Posts: 111

Original Poster
Rep: Reputation: 0
Here's my situation as of today:
Currently all of my machines are using 192.168.1.0/24 - but I can see I'm running out of addresses (why? because I have 5 Linux machines that have 6 physical NICs and each runs at least 6 KVM virtual machines with 1 NIC each and I've got 3 WIN7 and 1 OS/2 machine with 2 NICs each - plus cell phones and tablet's). Don't forget the guests that come over. Then there is software that need IP addresses.
We do not have a public IP address, but the internal domain name we use is 'espdesignsllc.com' so a machine name becomes espsysNN.espdesignsllc.com.
I am considering moving to 192.168.1.0/16 going forward.
So I'm currently trying to maintain 40+ /etc/hosts files which has become impossible - If I add a VM I have to update every machine's /etc/hosts file that needs access.

I've been told that if I use bind I'll only have to update my DNS forward and reverse files (max of 4 files).

My main machine (where the DNS master is) also provides NFS file systems for many of the other machines.

This is my situation.
Gene
 
Old 06-03-2019, 12:21 AM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
OK
No real domain...
Yes. I believe you should be able to configure an internal DNS server to do what you want. That’s beyond my experience,tho.
Now that you’ve been a bit clearer perhaps someone will jump in...tho you should probably explain exactly what’s not working.
1. What did you do?
2. What happened?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Patch BIND9 Against DNS Cache Poisoning (Debian/Fedora/CentOS) LXer Syndicated Linux News 0 07-29-2008 02:00 PM
BIND9 slave DNS problem HELP!!! mlu Linux - Networking 2 05-05-2005 06:31 AM
DNS BIND9: Restrict certain entries from being transfered Der_tolle_Emil Linux - Networking 2 12-01-2004 07:43 AM
Suse Linux 9.1 Pro BIND9/DNS server vbat Linux - Newbie 0 10-01-2004 07:20 PM
BIND9 and W2k dhcp clients DNS suffix issue. wasp4141 Linux - Networking 1 04-06-2004 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration