Re: Send an DNS Message
> Tran Van Tan wrote:
> Hi !
> How do I enable an DNS message and send it to nameserver ?
Uh... maybe it's just a terminology problem, or language
One doesn't _send_ DNS messages to a nameserver, one
sends DNS _queries_. This is handled in the resolver
library, or kernel networking handler, enabled by
an entry of
hosts: dns # or "dns files" or "files dns" ...
and directed to an appropriate nameserver with
an entry such as
nameserver 184.108.40.206 # replace with the closest nameserver in your
There can be, typically, three effective entries of nameserver ...;
if the first is unreachable, then the second is tried, and so on.
It is a shortcut to be able to leave off the domain if
are also in /etc/resolv.conf
For command-line access to DNS, use 'nslookup'.
See also DNS-HOWTO, for example at
or the DNS-HOWTO.txt at your favorite documentation repository.