The glibc resolver reads up to six nameserver lines from /etc/resolv.conf and ignores any entries beyond that.