Sponsored Content
Full Discussion: dns client not working
Operating Systems Solaris dns client not working Post 302482208 by vaibhav.kanchan on Monday 20th of December 2010 11:48:20 PM
Old 12-21-2010
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
Code:
-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 # dns server
192.168.1.67 next.set.com

-bash-3.00# grep hosts /etc/nsswitch.conf
# DNS for hosts lookups, otherwise it does not use any other naming service.
# “hosts:” and “services:” in this file are used only if the
hosts: files dns
# before searching the hosts databases.

I have given following entries in solaris client /etc/resolv.conf

-bash-3.00# cat /etc/resolv.conf
search set.com
nameserver 192.168.1.57

-bash-3.00# svcs -a | grep dns
disabled 8:38:39 svc:/network/dns/server:default
online 8:39:14 svc:/network/dns/client:default

-bash-3.00# nslookup dummy.set.com
Server: 192.168.1.57
Address: 192.168.1.57#53
** server can’t find dummy.set.com.set.com: REFUSED

Smilie

Last edited by pludi; 12-21-2010 at 08:00 AM.. Reason: code tags, please...
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. IP Networking

HOWTO: Linux multihomed dns client

The Linux resolver queries all nameservers in the order they are listed in /etc/resolver.conf. If a nameserver times out, it advances on to the following nameserver. But, if a nameserver returns "not found" (NXDOMAIN) it stops. This behaviour is problematic when you need to resolve names from... (0 Replies)
Discussion started by: colemar
0 Replies

4. Debian

PB : DNS Client don't ping internet

Hi, I have my router (192.168.1.1) connected to the internet. I have installed Debian on a server with Bind9 (192.168.1.254). The configurations files are : $ cat /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # The primary network interface... (1 Reply)
Discussion started by: Thibault
1 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. 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

7. Red Hat

Nslookup working but ping not working at windows client

Hi Team we have created a DNS server at RHEL6.2 environment in 10.20.203.x/24 network. Everything is going well on linux client as nslookup, ping by host etc in entire subnet. We are getting problem in windows client as nslookup working as well but not ping. all the firewall is disabled and... (5 Replies)
Discussion started by: boby.kumar
5 Replies

8. 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

9. Solaris

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 and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
unbound-streamtcp(1)						      unbound						      unbound-streamtcp(1)

NAME
unbound-streamtcp - unbound DNS lookup utility SYNOPSIS
unbound-streamtcp [-unsh] [-f ipaddr[@port]] name type class DESCRIPTION
unbound-streamtcp sends a DNS Query of the given type and class for the given name to the DNS server over TCP and displays the response. If the server to query is not given using the -f option then localhost (127.0.0.1) is used. More queries can be given on one commandline, they are resolved in sequence. The available options are: name This name is resolved (looked up in the DNS). type Specify the type of data to lookup. class Specify the class to lookup for. -u Use UDP instead of TCP. No retries are attempted. -n Do not wait for the answer. -s Use SSL. -h Print program usage. -f ipaddr[@port] Specify the server to send the queries to. If not specified localhost (127.0.0.1) is used. EXAMPLES
Some examples of use. $ unbound-streamtcp www.example.com A IN $ unbound-streamtcp -f 192.168.1.1 www.example.com SOA IN $ unbound-streamtcp -f 192.168.1.1@1234 153.1.168.192.in-addr.arpa. PTR IN EXIT CODE
The unbound-streamtcp program exits with status code 1 on error, 0 on no error. AUTHOR
This manual page was written by Tomas Hozza <thozza@redhat.com>. NLnet Labs Mar 21, 2013 unbound-streamtcp(1)
All times are GMT -4. The time now is 10:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy