NetXMS Support Forum

English Support => General Support => Topic started by: d-ray on February 18, 2015, 11:05:45 AM

Title: Primary hostname will not resolved to Primary IP Address
Post by: d-ray on February 18, 2015, 11:05:45 AM
Hi,

The netxms server is contacting proxy agents over WAN.
The resolving of the DDNS hostname to IP is OK. When the IP on WAN is changing it will be updated in netxms.
That looks OK

But when the IP is changing from a client after the proxy in the local network it looks that the dns name isn't resolved to a IP.
It looks that the option "ResolveDNSToIPOnStatusPoll" isn't working when using a proxy agent.

Regards
Title: Re: Primary hostname will not resolved to Primary IP Address
Post by: d-ray on February 21, 2015, 03:14:07 PM
Nobody with the same issue? :o
Title: Re: Primary hostname will not resolved to Primary IP Address
Post by: Victor Kirhenshtein on February 23, 2015, 10:34:00 PM
Possibly problem caused by the fact that even if proxy is used for communications, primary host name resolution happens on server, so if it still resolves to old address on server side then server will continue using old IP.

Best regards,
Victor
Title: Re: Primary hostname will not resolved to Primary IP Address
Post by: d-ray on February 24, 2015, 02:08:00 PM
Hi,

Is there a way to fix that problem?

Regards
Denis
Title: Re: Primary hostname will not resolved to Primary IP Address
Post by: Victor Kirhenshtein on February 24, 2015, 02:27:14 PM
Not with configuration - but server could be changed to use proxy agent for name resolution. But can you confirm that this is the case (i.e. DNS name of node behind proxy cannot be resolved correctly from server)?

Best regards,
Victor
Title: Re: Primary hostname will not resolved to Primary IP Address
Post by: d-ray on February 24, 2015, 05:30:20 PM
Yes I confirm that the server isn't possible to resolve the Host name from the DNS.
It is the proxy agent that needs to resolve the host name. He is the only one that has access to the local LAN.

The only communication between the LAN with the netxms server in and the LAN with the DHCP agents in is the netxms Proxy agent.
There is no VPN or whatever between the different LAN'S. All the communication is over the netxms proxy (port 4700)

If you need more info let me know. Then I will make a design of the network setup.




Title: Re: Primary hostname will not resolved to Primary IP Address
Post by: d-ray on February 24, 2015, 05:38:38 PM
The network discovery is working well over the proxy connection. (but without dns hostname)
Title: Re: Primary hostname will not resolved to Primary IP Address
Post by: Victor Kirhenshtein on February 25, 2015, 11:24:42 AM
Are you using zones or just set proxy for individual nodes?

Best regards,
Victor
Title: Re: Primary hostname will not resolved to Primary IP Address
Post by: d-ray on February 25, 2015, 07:26:57 PM
I'm using zones.

Regards
Title: Re: Primary hostname will not resolved to Primary IP Address
Post by: Victor Kirhenshtein on February 25, 2015, 08:29:46 PM
I've register a change request to use agent for DNS resolution for remote zones: https://dev.raden.solutions/issues/778 (https://dev.raden.solutions/issues/778). Should not be hard to implement.

Best regards,
Victor
Title: Re: Primary hostname will not resolved to Primary IP Address
Post by: d-ray on February 25, 2015, 10:03:54 PM
 
Quote from: Victor Kirhenshtein on February 25, 2015, 08:29:46 PM
I've register a change request to use agent for DNS resolution for remote zones: https://dev.raden.solutions/issues/778 (https://dev.raden.solutions/issues/778). Should not be hard to implement.

Best regards,
Victor

8) 8) 8) 8) 8)
Thanks