IDN canonicalisation?
A name like google。com
is not canonicalized (unlike what dig or the DNS LG are doing) and therefore rejected "Spurious text at the end: syntax is just domainname plus optional query type". Ordinary IDN (like www.potamochère.fr
) work.