Doesn't getaddrinfo respect /etc/resolv.conf? So LittleSnitch should install itself there if it wants to be used by getaddrinfo.
Besides, apps can always make direct lookups to a resolver of their choice, bypassing any resolver hints of the operating system.