Visit Our UNIX and Linux User Community


DNS client added to DNS server but not working


 
Thread Tools Search this Thread
Operating Systems Solaris DNS client added to DNS server but not working
# 1  
Old 05-16-2018
DNS client added to DNS server but not working

Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
Quote:
rndc reload
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to resolve the hostname to IP or viceversa... Getting message as "** server can't find xyz: REFUSED"


The port is open too.

any help is appreciated...
# 2  
Old 05-16-2018
Maybe you need to allow query access, like
Code:
cat /etc/named.conf
...
options {
...
        allow-recursion { any; };
        allow-query  { any; };
        allow-query-cache { any; };
...
};
...

# 3  
Old 05-17-2018
But I am able to resolve successfully on other dns clients... This is new one I need to get into DNS..
# 4  
Old 05-17-2018
Can you share the content of /etc/resolv.conf and the output of a test nslookup so we can see.



Thanks, in advance,
Robin
# 5  
Old 05-17-2018
Code:
[root@xyzname ~]# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 127.0.0.1
nameserver  a.b.c.d
nameserver 4.2.2.2

[root@xyznamel ~]# nslookup xyzname  a.b.c.d
Server:          a.b.c.d
Address:        a.b.c.d#53

** server can't find xyzname: REFUSED


Last edited by DukeNuke2; 05-18-2018 at 01:05 PM..
# 6  
Old 05-18-2018
any clue guys ?
# 7  
Old 05-19-2018
Having no clue of Solaris, when seeing some clients resolve successfully and some not, I'd meticulously compare the working and non-working clients' configurations: network setup, OS and resolver versions, config files' contents, what have you.

Previous Thread | Next Thread
Test Your Knowledge in Computers #279
Difficulty: Easy
A microkernel is the near-minimum amount of software that can provide the mechanisms needed to implement an operating system (OS). These mechanisms include low-level address space management, thread management, and inter-process communication (IPC).
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

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... (5 Replies)
Discussion started by: snchaudhari2
5 Replies

2. Solaris

DNS client - what exactly it is

Hi all, I always thought DNS server = provide DNS response (host to ip / ip to host) to DNS client (which send DNS resolve request). So in my solaris 10 box, i setup /etc/resolv/conf, /etc/nsswitch.conf (added in dns) etc. Yes, i am able to dig and nslookup. But.. am i a DNS client ? ... (5 Replies)
Discussion started by: javanoob
5 Replies

3. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

4. Linux

How to add a client to DNS server

Hi all, What is the procedure to add a client to a DNS server. what are the settings and files need to be added/changed ? thanks in advance! (6 Replies)
Discussion started by: lramsb4u
6 Replies

5. IP Networking

How to Determine client's DNS server Ip

Is there a way for a server to determine client's DNS ip? I have an application that logs client's IP but in certain cases its desirable to know their DNS too (1 Reply)
Discussion started by: vickylife
1 Replies

6. Solaris

dns client not working

Hi All, I have configured linux server as local dns server (practice level). I have given the IP and hostname details in /etc/hosts -bash-3.00# cat /etc/hosts # # Internet host table # ::1 localhost 127.0.0.1 localhost 192.168.1.78 dummy.set.com loghost 192.168.1.57 cent.set.com #... (3 Replies)
Discussion started by: vaibhav.kanchan
3 Replies

7. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

8. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

9. UNIX for Advanced & Expert Users

DNS client nslookup

Hello, I just got done setting up a DNS server and a client. However, when I do an nslookup with just the hostname, I got this output: Microsoft Windows 2000 (C) Copyright 1985-2000 Microsoft Corp. C:\Documents and Settings\dev9>nslookup dev9 Server: webdev.testsurgemail.com Address:... (3 Replies)
Discussion started by: xnightcrawl
3 Replies

Featured Tech Videos