Class | Package: socket | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version