Sponsored Content
Operating Systems AIX Named resolving old fqdn on AIX after change to new fqdn. Post 302942998 by Devyn on Monday 4th of May 2015 01:50:55 PM
Old 05-04-2015
Hey Br,

Thanks very much for looking into this. Appreciated. The DNS server has:

Code:
# cat /etc/netsvc.conf|grep -v "#"

hosts=bind,local
#

Clients do not have anything defined in /etc/netsvc.conf. It did not make a diff in our scenario. When I do nslookup on a client like lab01.this.that it resolves correctly and I get the right IP.

When I type dig -x 10.0.0.54 ptr it correctly returns the name of client: lab01.this.that. So reverse lookups are also good. Yet the named.log file contains entries like these:

Code:
04-May-2015 13:12:30.074 client 10.0.0.54#51878: query 'loopback.abc.this.that/A/IN' approved

for the loopback device. Why is it still trying to go to abc.this.that on the loopback device?

Sorry I CAN'T get too detailed in exact names so lab01 and abc.this.that are host and domain name place holders for real ones.

I just noticed and see a bunch of messages like this:

Code:
 query (cache) 'lab01.abc.this.that/A/IN' approved

so looks like it's 'caching' somewhere but not sure where since rndc is off.

The point is that it is keeping the old FQDN abc.this.that when I already changed it to this.that earlier (removing the abc).

It's ok if it's not enough information to let you guy's suggest anything then we'll just plug away at it on this end. No worries. Smilie

Thanks,
DH

---------- Post updated at 01:39 PM ---------- Previous update was at 01:30 PM ----------

Maybe I could ask the reverse scenario. If I changed an old domainname from abc.this.that to this.that, and it still somehow kept showing abc.this.that for the loopback device within the /var/log/named/named.log file, where could I go to look to change that?

Thanks,
DH

---------- Post updated at 01:50 PM ---------- Previous update was at 01:39 PM ----------

When running rndc dumpdb -all then trying to use strings <dump file> it showed nothing cached for abc.this.that at all.

Thanks,
DH

Last edited by Don Cragun; 05-05-2015 at 03:00 AM.. Reason: Add CODE and ICODE tags.
 

10 More Discussions You Might Find Interesting

1. Programming

FQDN and getdomainname

I have a need to create a connection between an erlang node and my C program. the name of an erlang node looks something like monitor@host1.ipc.co.za. The piece of code I have to construct a node name looks like this: char *hostname, *domainname, *nodename = "monitor", *thisfullnodename; ... (1 Reply)
Discussion started by: NanoSec
1 Replies

2. Solaris

Using sendmail without FQDN

Hello Folks, Am facing an issue regarding sendmail. Sendmail is working on the server but it does not have an FQDN and the server is not connected to internet ie it does not have a public IP, it is in the intranet with 192.xxx.xxx.xx IP. How do we go about sending mail from this sendmail... (1 Reply)
Discussion started by: rcmrulzz
1 Replies

3. UNIX for Advanced & Expert Users

Parsing an FQDN

Hi, I want a shell command through which I can parse an FQDN (Fully Qualified Domain Name) and check whether it is correct or not? The FQDN can accept alphanumeric, . and - only. I tried grep -E "^|\-|." <file name>, but I am not able to get the correct result.:confused: Please provide... (1 Reply)
Discussion started by: g_rohit7
1 Replies

4. Shell Programming and Scripting

re-arrange fqdn entries

How would I reverse a list of fqdn and comma delimited to 5 levels but keep a number at the end? Input: aa.bb.cc.dd.com,78 Output: dd,cc,bb,aa,,78 thanks & regards (3 Replies)
Discussion started by: hazno
3 Replies

5. Solaris

Sendmail to username without FQDN

I have some Solaris 10 machines that cannot send an email without @domain added. For instance, myusername@host.com will work, but just using myusername will not. I also have some Solaris 8 machines, but I can send emails with or without the @domain added. Does anyone know what is making sendmail on... (0 Replies)
Discussion started by: njhardc0re
0 Replies

6. Shell Programming and Scripting

FQDN into domain name and hostname

I'm working on a rather large script atm (it already takes 9 arguments). As such, I need to obtain both a server name and domain from the FQDN. From this, I want to both populate the hostname of the server, as well as the domain line in the /etc/resolv.conf file. Obviously, this isn't working. I... (10 Replies)
Discussion started by: msarro
10 Replies

7. Shell Programming and Scripting

how to get the FQDN

Suppose I am in one server A .I want to know the FQDN of another host B then how can I get the FQDN of that host B from host A. (1 Reply)
Discussion started by: maitree
1 Replies

8. Shell Programming and Scripting

Replacing FQDN by hostnames in a CSV file with sed & awk

Hello, Beginning with shell scipting, I'm trying to find in a csv file, the lines where the field related to hostname is displayed as an FQDN intead the hostname. (some lines are correct) and the to correct that inside the file: Novell,11.0,UNIX Server,bscpsiws02,TxffnX1tX1HiDoyBerrzWA==... (2 Replies)
Discussion started by: Wonto
2 Replies

9. Solaris

Help with parsing regex in tripwire for Solaris 10 dfstab FQDN

Help with parsing regex in tripwire: the rule is" This test verifies that all exported file systems found in /etc/exports specify a fully qualified domain name containing "thecss.com" or a NIS netgroup.." regex that does not work is : ... (1 Reply)
Discussion started by: bathija12
1 Replies

10. AIX

Ldapsearch takes minutes when using FQDN vs IP

Hey All, ldapsearch takes minutes when using FQDN vs IP. What could be some of the reasons for that? Cheers, DH (13 Replies)
Discussion started by: Devyn
13 Replies
All times are GMT -4. The time now is 06:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy