Command to flush specific domain in SunOS 5 DNS

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Command to flush specific domain in SunOS 5 DNS
# 1  
Old 10-09-2012
Command to flush specific domain in SunOS 5 DNS

Hello to all,

May you help saying me how to flush a specific domain in Linux SunOS5

I know the command rndc is to flush DNS cache, but I would like to know:

1- How to do a flush only on specific domain
2- How to see the content of DNS Resolver cache (similar to info given by IPCONFIG /displaydns in Windows)

If I send below command with flushname, I get an error:
rndc flushname
rndc: 'flushname' failed: unknown command

Thanks in advance for any help on this.

# 2  
Old 10-10-2012
Do you get the same result running as root? The path might be set differently.
# 3  
Old 10-10-2012
Hello rdrtx1,

Thanks for answer.

I'm logging as root, but I'm not executing with "sudo".

Besides that, I don't understand what do you mean with "The path might be set differently" May you explain me a little bit please?

Thanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Linux is not appending domain name in DNS query

In my /etc/resolv.conf file there is domain name defined. But when I do nslookup the domain name is not appended. Why? (18 Replies)
Discussion started by: broy32000
18 Replies

2. UNIX for Advanced & Expert Users

Changing hosting company for one domain, how to deal with DNS?

Hello, Our organization is planning to move one domain from Dreamhost to Hubspot. Lets say, it is Please note, website is not being migrated from one server to another, it is just hosting company. Here is from our internal DNS master server - # cat... (6 Replies)
Discussion started by: solaris_1977
6 Replies

3. Linux

Domain registrars & DNS servers

I have read many tutorials on bind and i understand the A,MX, CNAME records. Internally, on a LAN we can install bind and create all these records and we can tell all PC and servers to use this bind as DNS server.that's fine. On the Internet, when we have purchased a valid domain like... (5 Replies)
Discussion started by: coolatt
5 Replies

4. Emergency UNIX and Linux Support

DNS flush is not working

I have a Linux machine and it seems DNS cache is not getting clear on it. It is still showing old values, even after changing in DNS server by Network team. I did /etc/init.d/nscd restart But still it is showing old values on this server. On my rest of servers in environment, nslookup is showing... (7 Replies)
Discussion started by: solaris_1977
7 Replies

5. Linux

Configuring dns in local domain

Hi everybody, for revolving local host name of my network, I set up an dns server to solve my problem, but til now, nothing happen when I ping a hostname, but work on IP. Can you help me to correct the configuration. Here is all my settings: Voici mes fichiers de configuration: -... (2 Replies)
Discussion started by: beloge2002
2 Replies

6. Solaris

How to find (specific) directories in SunOS 5.9?

Hi all! I try to find all directories which match a specific path, e.g., to find all directories matching "data/temp/" assuming a directory structure like this: /foo/data/temp /foo/foo/data/temp I tried the find command, however, I wasn't successful. The "find" command under SunOS 5.9 DOES... (7 Replies)
Discussion started by: tbeer
7 Replies

7. IP Networking

Select DNS Servers depending on the domain

Hello, I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address. What I'd like is to... (4 Replies)
Discussion started by: martincastell
4 Replies

8. UNIX for Advanced & Expert Users

exim4 relay only to specific domain

Hi, I am new in exim. I am trying to configure a debian server running exim4 such that it relays only mails to our domain ( exim server uses a smarthost for relaying. I do not get it to block outgoing mails to domains different from ours (i.e. with the "standard" configuration it... (0 Replies)
Discussion started by: one71
0 Replies

9. Solaris

change dns (domain name)

hi gurus, need to check other than the hosts file, what else i need to change after we have changed the domain name in our company. currently, we are using and will change it to i am not sure where else in solaris i need to take a look. please advise. thank... (4 Replies)
Discussion started by: kim_custodio
4 Replies
Login or Register to Ask a Question

Featured Tech Videos