knary
knary copied to clipboard
Panic when NS records haven't updated an EXT_IP isn't set
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0x77a229]
goroutine 1 [running]:
github.com/sudosammy/knary/libknary.GuessIP({0xc0000267ae, 0xb})
/Users/sudosammy/repos/knary/libknary/dns.go:336 +0x149
main.main()
/Users/sudosammy/repos/knary/main.go:60 +0x352
(edited)
this error happens if the NS records haven't updated and the EXT_IP isn't set in the .env