host from BIND 9.4.1-P1 is confused by multiple search options in /etc/resolv.conf

Gaston Benitez gbenitez at telecentro.net.ar
Tue Oct 30 20:46:04 UTC 2007


Hi

I guess you forgot the trailing dot at the end of your entries, and you can 
put those entries as a single one

search selectacast.net. xtenit.com.

this is the output from my Pc-lab

[root at rhmonitor etc]# cat /etc/resolv.conf
search tomate.net.ar. gstnet.com.ar.
nameserver 192.168.1.5

[root at rhmonitor etc]# host -v rrhh
Trying "rrhh.tomate.net.ar"
Trying "rrhh.gstnet.com.ar"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48091
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;rrhh.gstnet.com.ar.            IN      A

;; ANSWER SECTION:
rrhh.gstnet.com.ar.     60      IN      A       192.168.1.6

;; AUTHORITY SECTION:
gstnet.com.ar.          60      IN      NS      rhmonitor.gstnet.com.ar.

;; ADDITIONAL SECTION:
rhmonitor.gstnet.com.ar. 60     IN      A       192.168.1.5

Received 92 bytes from 192.168.1.5#53 in 3 ms


I hope this help you

Gaston Benitez
Operaciones Banda Ancha
Telecentro S.A - 4854-5074
----- Original Message ----- 
From: "Joseph S" <jks at selectacast.net>
To: <bind-users at isc.org>
Sent: Tuesday, October 30, 2007 4:29 PM
Subject: host from BIND 9.4.1-P1 is confused by multiple search options in 
/etc/resolv.conf


> The host command appears to only want to use the last search option in
> /etc/resolv.conf.
>
> On a rehdat machine:
>
> [jks at c1 ~]$ cat /etc/resolv.conf
>
> search selectacast.net
> search xtenit.com
> #
> nameserver 199.107.233.222
>
> [jks at c1 ~]$ /usr/local/bin/host -v p8
> Trying "p8.xtenit.com"
> Trying "p8"
> Host p8 not found: 3(NXDOMAIN)
> Received 95 bytes from 199.107.233.222#53 in 0 ms
> [jks at c1 ~]$ /usr/bin/host -v p8
> Trying "p8.selectacast.net"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33952
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4
>
> ;; QUESTION SECTION:
> ;p8.selectacast.net.            IN      A
>
> ;; ANSWER SECTION:
> p8.selectacast.net.     3600    IN      A       199.107.233.218
>
> ;; AUTHORITY SECTION:
> selectacast.net.        3600    IN      NS      ns.selectacast.net.
> selectacast.net.        3600    IN      NS      ns2.selectacast.net.
> selectacast.net.        3600    IN      NS      ns-east.cerf.net.
> selectacast.net.        3600    IN      NS      ns-west.cerf.net.
>
> ;; ADDITIONAL SECTION:
> ns.selectacast.net.     3600    IN      A       199.107.233.222
> ns2.selectacast.net.    3600    IN      A       63.240.50.214
> ns-east.cerf.net.       162716  IN      A       207.252.96.3
> ns-west.cerf.net.       162716  IN      A       192.153.156.3
>
> Received 200 bytes from 199.107.233.222#53 in 4 ms
> [jks at c1 ~]$ rpm -q bind-utils
> bind-utils-9.2.4-27.0.1.el4
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.15.13/1099 - Release Date: 
> 10/30/2007 10:06 AM
>
> 



More information about the bind-users mailing list