gh is a tool to look up stuff about an IP or name using libresolv. Thus, it honours /etc/resolv.conf, etc, unlike dig or nslookup. You can get the canonical name, aliases, name for number, or number for name, depending on options.
gh是用libresolv来查寻IP或者名字材料的工具。因而,它推崇/etc/resolv.conf等,与dig或nslookup不同。你可以得到符合规定的名字,别名,号码名或者名字的号码,取决于选项。