Sponsored Content
Full Discussion: I need help with...<various>
Top Forums Shell Programming and Scripting I need help with...<various> Post 302242049 by Habitual on Wednesday 1st of October 2008 04:26:24 AM
Old 10-01-2008
And here's the answer I wanted with desired output:

host -t ns example.com | while read dom ns server; do dig +short $dom | echo $server "shows an IP of" `dig +short $dom` for $dom; done <enter>

Gives me this output:
server a.iana-servers.net. shows an IP of 208.77.188.166 for example.com
server b.iana-servers.net. shows an IP of 208.77.188.166 for example.com

Thanks era for the assist. Smilie
 
FORKED-DAAPD(8) 					      RSP & DAAP media server						   FORKED-DAAPD(8)

NAME
mt-daapd - RSP & iTunes-compatible DAAP server SYNOPSIS
forked-daapd [options] DESCRIPTION
forked-daapd is an RSP (Roku Streaming Protocol) and DAAP (Digital Audio Access Protocol) server. It allows you to share your music collec- tion over the local network using the RSP protocol used by devices from Roku and/or the DAAP protocol also used by Apple's iTunes. OPTIONS
-d level Log level (0-5). -D dom,..,dom Debug domains; available domains are: config, daap, db, httpd, main, mdns, misc, rsp, scan, xcode, event. -s Synchronous logging; logging is asynchronous by default. Use when debugging, especially if debugging a crash. -c file Use file as the configuration file. -P file Write PID to file. -f Run in the foreground. -b ffid ffid to be broadcast in mDNS records. -v Display version information. FILES
/etc/forked-daapd.conf /var/cache/forked-daapd AUTHORS
forked-daapd was written by Julien BLACHE <jb@jblache.org> as a fork/rewrite of mt-daapd. mt-daapd was written by Ron Pedde <ron@pedde.com>. This manual page was written by Rogerio Brito <rbrito@users.sf.net> and Julien BLACHE <jblache@debian.org> for the Debian project (but may be used by others). forked-daapd 2010-07-18 FORKED-DAAPD(8)
All times are GMT -4. The time now is 05:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy