This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

CC3220MOD: The limitation for DNS name length

Intellectual 1600 points

Replies: 1

Views: 81

Part Number: CC3220MOD

Hi,

For simplelink_cc32xx_sdk_2_10_00_04, what is the max value for DNS name length (= "NameLen" of the following API).

_i16 sl_NetAppDnsGetHostByName ( _i8 * pHostName,
const _u16 NameLen,
_u32 * OutIpAddr,
const _u8 Family
)

Background of the question is , usually DNA name should be under 255 character.

I would like to know whether the software which notice for when the user puts over 255 characters is implemented.

best regards,

HaTa.

  • Hi HaTa,

    No, the device supports the length being greater than 255 characters internally. An error will not necessarily be generated if the user specifies a NameLen beyond that.

    Best Regards,
    Ben M

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.