Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.