dig does not use named.conf. If you hadn't specified the server to ask (using @ syntax) then resolv.conf is used as source for initial server.

Stace

On 08/09/2010 17:13, b19...@anl.gov wrote:
I have DNS severs with multiple addresses.  They are running 9.7.1-P2.
On the servers I have

      query-source 1.2.3.4;

to tell BIND to use one of the DNS addresses for its queries.
Yesterday on the box I issued

      dig example.com @someserver.example.com

and the query was sent using the non-DNS address.  I expected the
"query-source" directive to send the query over the 1.2.3.4
IP address and not one of the other three addresses on the box.
Is "query-source" not honored because I specified the DNS server
I wanted to query?  Thanks.
----------------------------------------------------------------------
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory          Phone:    +1 (630) 252-7277
9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
Building 240, Room 5.B.8             Internet: bsfin...@anl.gov
Argonne, IL   60439-4828             IBMMAIL:  I1004994

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to