[olug] Testing contents of resolv.conf

Jay Bendon jaybocc2 at gmail.com
Thu Aug 22 21:47:07 UTC 2013


man host


host domain.com.to.look.up $server_ip_to_query_from

--Jay


On Thu, Aug 22, 2013 at 2:43 PM, Dave Thacker <dthacker at bluestrain.net>wrote:

> Scenario:
>
> The corporate mothership hath decreed that a new IP address be added to
> /etc/resolv.conf on all linux devices, including some IVR appliances in my
> realm.  (CentOS  and Red Hat)  The new address points to a snazzy new DNS
> appliance.
>
> The Name Service Caching Daemon (nscd) is not in use, these boxes do not
> run
> any SMTP.  The primary application has the addresses it needs in
> /etc/hosts.
> My google-fu has failed me on finding a suitable way to see if this second
> ip
> address would be used in a DNS lookup.   Anybody got a command line I could
> run and pull a return from?
>
> Dave
>
>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>


More information about the OLUG mailing list