The “host” command has this really long delay when it resolves a hostname. See the “host -v” output below.
Of particular interest is the part ‘Trying “sma-station4.sma.com”’, the cause of the delay. Why does it ask the host it is trying to resolve for the name resolution? Especially since it has already gotten a resolution?
Is there a way to prevent it? Or should there always be a name resolver of some sort active on a linux host? If so, which one?
The resolution delay also affects FTP, oddly enough.
… the host -v result ]…
~> host -v sma-station4
Trying “sma-station4.sma.com”
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30770
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;sma-station4.sma.com. IN A
;; ANSWER SECTION:
sma-station4.sma.com. 0 IN A 192.168.69.14
Received 54 bytes from 192.168.69.249#53 in 2 ms
Trying “sma-station4.sma.com”
;; connection timed out; no servers could be reached
Trying “sma-station4.sma.com”
;; connection timed out; no servers could be reached
… end ]…