Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: App::Netdisco 2.032005 Not showing device DNS names (only
      showing IP's) (Bill Richardson)
   2. App::Netdisco 2.032005 Not showing device DNS names (only
      showing IP's) (Bill Richardson)
   3. Re: App::Netdisco 2.032005 Not showing device DNS names (only
      showing IP's) (Bill Richardson)
   4. Re: App::Netdisco 2.032005 Not showing device DNS names (only
      showing IP's) (Bill Richardson)
--- Begin Message ---
So just to be clear

table "device" the dns field has no data
table "device_ip" does have data in the dns field

Looking at the debug output of a discovery it looks like it only updates the 
device_ip table:

INSERT INTO device_ip( alias, dns, ip, port, subnet )
  VALUES( ?, ?, ?, ?, ? ) : '__BULK_INSERT__'

Ok so is this dns data only in the device_ip table? If so what do I need to do 
to show that in the neighbor maps?

From: Bill Richardson
Sent: Wednesday, June 17, 2015 7:52 AM
To: '[email protected]'
Subject: App::Netdisco 2.032005 Not showing device DNS names (only showing IP's)

I have looked thru the doc's and have searched this list but can't seem to 
determine why I'm not seeing my device hostnames showup? Nodes all seem to 
resolve but none of the devices have anything data in the DNS table. Looking at 
the neighbor maps all devices show IP's no names.

My config has this entry:

dns:
  max_outstanding: 50


Doing a discovery and looking at the debug output as so:

"netdisco-do discover -d switch-name -D" I see that its resolving:

"debug  resolving 7 aliases with max 50 outstanding requests"

Doing a tcpdump and looking at port 53 (while running a discovery) I see the 
proper DNS requests and responses

Any thoughts on why this is not working?

Thank you.. Bill


--- End Message ---
--- Begin Message ---
I have looked thru the doc's and have searched this list but can't seem to 
determine why I'm not seeing my device hostnames showup? Nodes all seem to 
resolve but none of the devices have anything data in the DNS table. Looking at 
the neighbor maps all devices show IP's no names.

My config has this entry:

dns:
  max_outstanding: 50


Doing a discovery and looking at the debug output as so:

"netdisco-do discover -d switch-name -D" I see that its resolving:

"debug  resolving 7 aliases with max 50 outstanding requests"

Doing a tcpdump and looking at port 53 (while running a discovery) I see the 
proper DNS requests and responses

Any thoughts on why this is not working?

Thank you.. Bill


--- End Message ---
--- Begin Message ---
One more update:

If I add manually add a dns name to the device table dns field it works. So how 
do I get the DNS fields to update automatically in the device table?

From: Bill Richardson
Sent: Wednesday, June 17, 2015 8:19 AM
To: '[email protected]'
Subject: RE: App::Netdisco 2.032005 Not showing device DNS names (only showing 
IP's)

So just to be clear

table "device" the dns field has no data
table "device_ip" does have data in the dns field

Looking at the debug output of a discovery it looks like it only updates the 
device_ip table:

INSERT INTO device_ip( alias, dns, ip, port, subnet )
  VALUES( ?, ?, ?, ?, ? ) : '__BULK_INSERT__'

Ok so is this dns data only in the device_ip table? If so what do I need to do 
to show that in the neighbor maps?

From: Bill Richardson
Sent: Wednesday, June 17, 2015 7:52 AM
To: '[email protected]'
Subject: App::Netdisco 2.032005 Not showing device DNS names (only showing IP's)

I have looked thru the doc's and have searched this list but can't seem to 
determine why I'm not seeing my device hostnames showup? Nodes all seem to 
resolve but none of the devices have anything data in the DNS table. Looking at 
the neighbor maps all devices show IP's no names.

My config has this entry:

dns:
  max_outstanding: 50


Doing a discovery and looking at the debug output as so:

"netdisco-do discover -d switch-name -D" I see that its resolving:

"debug  resolving 7 aliases with max 50 outstanding requests"

Doing a tcpdump and looking at port 53 (while running a discovery) I see the 
proper DNS requests and responses

Any thoughts on why this is not working?

Thank you.. Bill


--- End Message ---
--- Begin Message ---
Solved:

I needed to add this to me config:

reverse_sysname: true

Now the dns field in device table is being updated and I see hostname instead 
of IP's

Surprised no one else has asked this before? I must be a little slow :)

From: Bill Richardson
Sent: Wednesday, June 17, 2015 8:46 AM
To: '[email protected]'
Subject: RE: App::Netdisco 2.032005 Not showing device DNS names (only showing 
IP's)

One more update:

If I add manually add a dns name to the device table dns field it works. So how 
do I get the DNS fields to update automatically in the device table?

From: Bill Richardson
Sent: Wednesday, June 17, 2015 8:19 AM
To: '[email protected]'
Subject: RE: App::Netdisco 2.032005 Not showing device DNS names (only showing 
IP's)

So just to be clear

table "device" the dns field has no data
table "device_ip" does have data in the dns field

Looking at the debug output of a discovery it looks like it only updates the 
device_ip table:

INSERT INTO device_ip( alias, dns, ip, port, subnet )
  VALUES( ?, ?, ?, ?, ? ) : '__BULK_INSERT__'

Ok so is this dns data only in the device_ip table? If so what do I need to do 
to show that in the neighbor maps?

From: Bill Richardson
Sent: Wednesday, June 17, 2015 7:52 AM
To: '[email protected]'
Subject: App::Netdisco 2.032005 Not showing device DNS names (only showing IP's)

I have looked thru the doc's and have searched this list but can't seem to 
determine why I'm not seeing my device hostnames showup? Nodes all seem to 
resolve but none of the devices have anything data in the DNS table. Looking at 
the neighbor maps all devices show IP's no names.

My config has this entry:

dns:
  max_outstanding: 50


Doing a discovery and looking at the debug output as so:

"netdisco-do discover -d switch-name -D" I see that its resolving:

"debug  resolving 7 aliases with max 50 outstanding requests"

Doing a tcpdump and looking at port 53 (while running a discovery) I see the 
proper DNS requests and responses

Any thoughts on why this is not working?

Thank you.. Bill


--- End Message ---
------------------------------------------------------------------------------
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to