Re: net-snmp and FQDN

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAF4SogbQK6OA8k+dynGttY7YbkL8MCQyr3SJw2DEFRc9p5Ch5g@mail.gmail.com>
If net-snmp is running on a dual-stack host, and you give it a dual-stack
destination, what is your desired behavior for this mode of operation?

  Bill


On Mon, Jul 17, 2017 at 1:42 AM, Raghava Kowshika Manjunatha via
Net-snmp-users <[email protected]> wrote:

> Hello,
>
>
>
> We have integrated net-snmp into our application that runs on an embedded
> system.
>
> We use net-snmp to send traps to user configured trap receivers.
>
>
>
> Until now, users could have configured only an IP address only trap
> receivers.
>
> Now, we have enhanced our system so that user can configure FQDN as well
> for trap receivers.
>
>
>
> We would like to feed user configured FQDN into net-snmp so that net-snmp
> can resolve the FQDN into an IP and determine the transport domain (UDP or
> UDP6) before sending the traps.
>
>    1. Is this possible in any of the net-snmp release versions?
>    2. If not, what workaround do you recommend?
>
> [ We currently, resolve FQDN into IP addresses and create trap session for
> each such resolved address. This works alright but has its own limitations.
> For example, DNS Server should be reachable when trap sessions are being
> created. Also if user decides to host trap receiver on a different server
> (same FQDN but different IP), then he will have to reconfigure the trap
> receiver on our device ]
>
>
>
> We use the following APIs to setup net-snmp for SNMP v1/v2c/v3 traps:
>
>    1. create_trap_session
>    2. snmpTargetAddrTable_create, snmpTargetAddrTable_add,
>    snmpNotifyTable_create, snmpNotifyTable_add, snmpTargetParamTable_create,
>    snmpTargetParamTable_add
>
>
>
> We currently use net-snmp-5.4.2.1-ssl-1.
>
>
>
> Best Regards,
>
> Raghava
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.