named on different port than 53

Mark_Andrews at isc.org Mark_Andrews at isc.org
Sat Oct 6 13:15:45 UTC 2001


> Hi everybody,
> 
> A very simple question. Could not locate in documentation.
> 
> I installed BIND and run it as with command "named -p 1051". i.e. I wanted
> to receive queries on UDP port 1051.
> Then I sent a query using dig in this way : dig -p 1051 yahoo.com.
> 
> After this I get result :
> 
> ; <<>> DiG 9.2.0a2 <<>> -p 1051 yahoo.com
> ;; global options:  printcmd
> ;; connection timed out; no servers could be reached
> 
> What can be the problem ?

	Well the root servers are not listening on port 1051, nor the
	com or yahoo.com servers.

> 
> Is it too trivial ?

	You want to just specify the port in the listen-on clause.

> 
> When name server is run as 'named' i.e. on port 53 by default, the dig
> query
> 'dig yahoo.com' works.
> 
> Thanks
> 
> Vaishali

	Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list