dnslookup
dnslookup copied to clipboard
"dnslookup undefined" in output
Should I be concerned by this output? I do not expect to see dnslookup undefined
and it is unclear what this means.
$ dnslookup www.ripe.net tls://www.chaz6.com
dnslookup undefined
dnslookup result:
;; opcode: QUERY, status: NOERROR, id: 23122
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.ripe.net. IN A
;; ANSWER SECTION:
www.ripe.net. 8 IN CNAME www.ripe.net.cdn.cloudflare.net.
www.ripe.net.cdn.cloudflare.net. 248 IN A 104.18.21.44
www.ripe.net.cdn.cloudflare.net. 248 IN A 104.18.20.44
You should specify version when you build it: VERSION=x.x make
The installation instructions in README.md are as follows:-
From source:
go get github.com/ameshkov/dnslookup
Where should I enter VERSION=x.x make
?
Eh, my bad, I should either change the instruction or change the code so that the version was hardcoded.
@ameshkov, I'd recommend using the module version when the buildtime one isn't available. In fact, it probably could replace the env hacks all together.