Jump to main content

##

# TCPIP_DNS_RemoveEntry Function

## C

    TCPIP_DNS_RESULT TCPIP_DNS_RemoveEntry(
        const char * hostName
    );

## Description

This function is used to remove an entry (host name) from the DNS cache.

## Preconditions

The DNS module must be initialized.

## Parameters

Parameters | Description
--- | ---
hostName | Domain name to be inserted.

## Returns

- TCPIP_DNS_RES_OK - If name was successfully removed.
- TCPIP_DNS_RES_INVALID_HOSTNAME - Invalid name supplied.
- TCPIP_DNS_RES_NO_SERVICE - DNS resolver non existent/uninitialized.
- TCPIP_DNS_RES_NO_NAME_ENTRY - No such name exists.

## Remarks

None.