Opened 5 years ago
Last modified 5 years ago
#212 new defect
bind-utils (dig) expects to find name server entries in /etc/resolv.conf which does not usually exist
Reported by: | Lewis Rosenthal | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | *none | Version: | |
Severity: | highest | Keywords: | |
Cc: |
Description
It had been so long since I set up bind9 on my production systems that I forgot about this.
After a clean install of bind-utils (no bind):
bind-utils-9.8.1-1
bind-libs-9.8.1-1
bind-license-9.8.1-1
dig fails to function, complaining of being unable to locate any name servers. Of course, passing a name server (@111.111.111.111) on the command line or entering that in %HOME%\.digrc works, however, what I've done on my production systems is to merely symlink %ETC%\RESOLV2 to %UNIXROOT%\etc\resolv.conf.
Suggest that either all bind utils be modified to search in the expected place for RESOLV2 or that such a symlink be created with a postin scriptlet at the time of install.
this will not happen until we finally updated the whole bind stuff to latest. It's a bit messy atm.