[Dnsmasq-discuss] txt-record service discovery

2011-03-03 Thread Weedy
After pouring over the dox I came to the syntax of:

txt-record=_pdl-datastream._tcp.openwrt.lan.,product=(HP LaserJet 1200)
txt-record=_pdl-datastream._tcp.openwrt.lan.,pdl=application/vnd.hp-PCL
txt-record=_pdl-datastream._tcp.openwrt.lan.,pdl=application/vnd.cups-postscript
txt-record=_pdl-datastream._tcp.openwrt.lan.,usb_MFG=HP
txt-record=_pdl-datastream._tcp.openwrt.lan.,usb_MDL=HP LaserJet
1200,note=Basement
txt-record=_pdl-datastream._tcp.openwrt.lan.,note=Basement

Obviously this doesn't work or I would not be posting.

If I could get a nudge in the right direction you can have my thanks.



Re: [Dnsmasq-discuss] DNS forwarding + search domain/suffix

2011-03-03 Thread Carlos Carvalho
Richard Fogle (r...@neosaint.org) wrote on 1 March 2011 16:10:
 I'm using dnsmasq as a DNS forwarder and I'm having a tough time finding a 
 piece of functionality, I'm almost convinced I'm missing something.  Instead 
 of posting one of my many test configurations this is what I'm trying to do:
 
 1.  Forward DNS requests to DNS server DNS1.
 2.  Have dnsmasq listen on loopback.
 3.  Set the /etc/resolv.conf to resolve to loopback; disable resolv.conf 
 lookup in the conf file
 
 This works great except for one thing - resolving local hostnames
 that only DNS1 would know.  For example, if I lookup
 www.domain.com the masq works perfectly.  If I use just a single
 hostname that should have a search domain appended to it (I tried
 expand-domains, domain, domain-suffix, etc, but they seem to be more
 tied to DHCP) it won't resolve or append the search domain.  I'm not
 seeing anything specific to 'search domain' in the man page.  DNS1
 is authoritative to what would be the search domain.  What am I
 missing?

domain-needed?



Re: [Dnsmasq-discuss] txt-record service discovery

2011-03-03 Thread /dev/rob0
On Thu, Mar 03, 2011 at 04:29:22AM -0500, Weedy wrote:
 After pouring over the dox I came to the syntax of:
 
 txt-record=_pdl-datastream._tcp.openwrt.lan.,product=(HP LaserJet 1200)
 txt-record=_pdl-datastream._tcp.openwrt.lan.,pdl=application/vnd.hp-PCL
 txt-record=_pdl-datastream._tcp.openwrt.lan.,pdl=application/vnd.cups-postscript
 txt-record=_pdl-datastream._tcp.openwrt.lan.,usb_MFG=HP
 txt-record=_pdl-datastream._tcp.openwrt.lan.,usb_MDL=HP LaserJet
 1200,note=Basement
 txt-record=_pdl-datastream._tcp.openwrt.lan.,note=Basement
 
 Obviously this doesn't work or I would not be posting.

Perhaps you could be more specific about what is not working:
1. If dig _pdl-datastream._tcp.openwrt.lan. txt shows all those 
   records, dnsmasq did its part, and is working fine. Whatever
   uses those TXT records for service discovery is probably not
   on topic here.
2. If not, complete information would be required, to help you.
-- 
Offlist mail to this address is discarded unless
/dev/rob0 or not-spam is in Subject: header