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
bash-3.2# nslookup test-dev2-web-01 192.168.x.y
Server: 192.168.x.y
Address: 192.168.x.y#53
** server can't find test-dev2-web-01: REFUSED
bash-3.2# cat /etc/resolv.conf
domain xysystem.com
nameserver 192.168.x.y
search xysystem.com
Please let me know what I am missing.
Neo
November 16, 2018, 10:58pm
2
You must add test-dev2-web-01
to your DNS server, either as a A record or a CNAME record.
I did added under /var/named/<zone file> as below:
bash-3.00# cat db.xysystem.com | grep 192.168.15.237
test-dev2-web-01 IN A 192.168.15.237 ;Test 1.0 Web-01
Also below is the "allow" entry from named.conf. Please let me know if its correct.
bash-3.00# cat /etc/named.conf | grep allow
allow-query { any; };
// allow-recursion { corpnets; };
// #allow-query { 8.15.22.0/24; 192.168.173.0/24; };
allow-transfer {
allow-query-cache { none; };
Neo
November 26, 2018, 12:30pm
5
That is not a name server, that's a server.
Please google "dns name server" and get a DNS provider for these DNS issues.
Neo
November 26, 2018, 12:32pm
6
Also, this address space:
192.168.15.237
Is private address space, normally dynamically allocated by your local IP router, so not really sure what you are trying to do here.