[En-Nut-Discussion] Query current DNS settings

Thiago A. Corrêa thiago.correa at gmail.com
Fri Jul 7 17:56:59 CEST 2006


   Today I've been asked to implement DNS name resolution, and I'm looking
at the DNS query API. The NutDnsConfig2 initializes a local struct that is
hidden from the rest of the code. Shouldn't we have a function to query the
current status? Also, shouldn't we save the settings to eeprom too?
   I'm not sure how smart is gcc and other embedded C compilers, but do they
perform function level linking? If so, adding those helper functions
shouldn't affect apps not using them :)

Kind Regards,
   Thiago A. Corrêa

More information about the En-Nut-Discussion mailing list