Class | Package: socket | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## dns-nameserver

The class of a `dns-nameserver` object. The value of variable `*nameservers*` is a list of nameserver objects. `dns-nameserver` has the following slots and accessors:

- `name`, accessor is dns-nameserver-name. A string naming the host name of the nameserver, or `nil` if that name isn't known.
- `ipaddr`, accessor is dns-nameserver-ipaddr. The IP address of the namesever, which is an integer.
- `sent`, accessor is dns-nameserver-sent. The number of queries sent to the nameserver.
- `received`, accessor is dns-nameserver-received. The number of responses from the nameserver. Because DNS uses the UDP protocol some requests and responses can get dropped or duplicated so the sent and received values may not be equal. However if there are many fewer received packets than sent packets then that means that it's probably a waste of time to use this nameserver.

See dns.htm.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version