knary icon indicating copy to clipboard operation
knary copied to clipboard

Panic when NS records haven't updated an EXT_IP isn't set

Open sudosammy opened this issue 7 months ago • 0 comments

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

sudosammy avatar Jun 06 '25 03:06 sudosammy