In recent years I've dealt with naming so little that I end up relying on getent, which is great until it's time to look into anything DNS specific.