How to add new solaris client IP into Solaris 10 DNS server
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
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.
How to add new solaris client IP into Solaris 10 DNS server
Hi,
We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name into resolv.conf
Please use [code] tags for commands and output.
Not sure why you're obfuscating private IP addresses...it's a bit confusing.
You're asking why the change to your name server isn't working, but you're not showing us what you did to make that change. Makes it difficult to help you.
When you say "change in DNS", you mean DNS server right?
I did changed zones db files in under /var/named. I added client IP address and name i.e. A record and PTR record in zone files. Then restarted the dns server service.
Can other clients resolve test-dev2-web-01 ?
If so, the problem is in the first client you were on.
If not, the problem is in the named.conf on the DNS server.
I'm asking if you can query the new client from any other client. If not, there's a problem in your configuration on the DNS server.
Compare what you've added there in both named.conf and the new zone file you should have created to the entries and zone file of a server that does resolve.
You've not shared what changes/additions you made to the DNS server...makes it difficult to help...but a careful review of those changes should show you the problem.
I don;t know if you are looking at my replies. I already shared what I have done on dns server.
Below are my from previous replies: This is from DNS server..
Quote:
bash-3.00# cat db.testsystem.com | grep 192.168.10.239
test-dev2-web-01 IN A 192.168.10.239 ;DEV 2.0 Web-01
I did changed zones db files in under /var/named. I added client IP address and name i.e. A record and PTR record in zone files. Then restarted the dns server service.
I don;t know if you are looking at my replies. I already shared what I have done on dns server.
I did changed zones db files in under /var/named. I added client IP address and name i.e. A record and PTR record in zone files. Then restarted the dns server service.
I'm reading your replies.
Code:
cat db.testsystem.com | grep 192.168.10.239
test-dev2-web-01 IN A 192.168.10.239 ;DEV 2.0 Web-01
Shows that there is one line in a file that seems to define an A record for 239...
Have you referenced that file correctly in your named.conf? We don't know.
Have you updated the Serial Number correctly?
Do the entries in named.conf and a working db file match the new entries?
What did you change in /var/named ?
What does the related entry in named.conf look like?
What does the entire db.testsystem.com file look like?
Have you tried this?
I presumed that if you were adding records to your DNS server you are the admin, and would know that you needed to restart named...and had already done so.
I’m not sure enough about how to do that on Solaris to advise you. Another option is to contact Oracle Support.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.