dnslookup icon indicating copy to clipboard operation
dnslookup copied to clipboard

"dnslookup undefined" in output

Open Chaz6 opened this issue 2 years ago • 4 comments

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

Chaz6 avatar Sep 30 '21 17:09 Chaz6

You should specify version when you build it: VERSION=x.x make

ameshkov avatar Sep 30 '21 17:09 ameshkov

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?

Chaz6 avatar Oct 01 '21 15:10 Chaz6

Eh, my bad, I should either change the instruction or change the code so that the version was hardcoded.

ameshkov avatar Oct 01 '21 15:10 ameshkov

@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.

ainar-g avatar Nov 03 '21 16:11 ainar-g