For some strange reason, nslookup seems to respect ndots whereas ping does not.
With ndots:2 $ ping host.name ping: host.name: Name or service not known $ nslookup host.name Server: 127.0.1.1 Address: 127.0.1.1#53 Name: host.name.mycompany.com Address: 10.174.2.192 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1674273 Title: Resolver ignores ndots option To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1674273/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
