Re:Domain-cli: Search domain availability from terminal
by greyface- on Friday December 22, 2017 @01:26AM
(#15985641)
There is one odd case where asking DNS won't work accurately: if a domain is registered but has no nameservers.
[ Parent
| on HN ]
Re:Domain-cli: Search domain availability from terminal
by anh79 on Friday December 22, 2017 @02:32AM
(#15985842)
Can you give some example? I have tried some registrars and if you don't provide some NS information, the default NS information is used.
I have a tool in the past https://gist.github.com/icy/b30893cecc8ec657317ba93831b0fd4a... it works fine as I experience. The tool has option `--all` to check by using both google/open dns. E.g,
$ whoisvn google-is-good.com --all
opendns.org: google-is-good.com available
googledns: google-is-good.com available
$ whoisvn google-is-bad.com --all
opendns.org: google-is-bad.com available
googledns: google-is-bad.com available
Re:Domain-cli: Search domain availability from terminal
by teddyh on Friday December 22, 2017 @03:38AM
(#15986079)
Look at, for example, "nmu360.se". It is registered, but has no name servers configured.
Re:Domain-cli: Search domain availability from terminal
by marcosdumay on Friday December 22, 2017 @12:56PM
(#15989437)
Whois says it has no name server (what a weird format that of .se), but digg finds an A record with 92.242.140.20 (what seems to be a register IP).
Re:Domain-cli: Search domain availability from terminal
by teddyh on Saturday December 23, 2017 @09:31AM
(#15994274)
Let me guess: Your ISP is injecting fake DNS responses.
Re:Domain-cli: Search domain availability from terminal
by feelin_googley on Friday December 22, 2017 @11:41AM
(#15988741)
echo nmu360.se|exec nc -vvn 91.226.37.83 43
Re:Domain-cli: Search domain availability from terminal
by anh79 on Saturday December 23, 2017 @03:24AM
(#15993415)
Very good example. Thanks a lot.
Re:Domain-cli: Search domain availability from terminal
by toast0 on Friday December 22, 2017 @02:27AM
(#15985831)
Almost always, you need to provide nameservers when you register a domain. host -t NS example.org should return something, even if the listed nameservers don't exist, don't respond for that domain, or return NXDomain.