bpaste, dpaste, ptpb.pw. Please no JavaScript pastebins or pastebin.com.
We only support standard dnsmasq configuration format, because we do not even know the number of dnsmasq embedders, let alone how to configure them. If you use NetworkManager, ifupdown, OpenWRT, or some other ass-weird configuration format, ask #nm or #debian (on OFTC) or #openwrt.
FAQ: (also see http://www.thekelleys.org.uk/dnsmasq/docs/FAQ)
- Q: Can I ask a question?
A: No, but I guess it's too late now. - Q: How do I...
A: Read The Fine Manual page, and use tags (documented in NOTES section of man page). - Q: Why is dnsmasq (not)...
A: Debug with log-queries, log-dhcp, and/or wireshark. - Q: What is Simon Kelley's nick?
A: Dunno, but he'll probably have to start using IRC first. - Q: Where is the dnsmasq cache file?
A: Cache is stored in memory only. - Q: How to dump the dnsmasq cache?
A: This is almost always not a good idea, as the dnsmasq cache is in memory only (cleared on restart). You should usually use log-queries or wireshark. If you really want though, the answer is in the man page. - Q: How to make dnsmasq respond to DNS requests for offline dhcp-host?
A: There is no built-in mechanism, since if the host is down, you cannot contact it anyways. If you insist, however, use /etc/hosts or --host-record. - Q: How to configure dnsmasq to ignore NXDOMAIN and continue?
A: Don't do that. Consider --server=/example.net/172.18.0.1. - Q: How to remove IPs from dynamic range?
A: You probably want dhcp-host (since what are you going to use those IPs for), but dhcp-range=...,static will also work. - Q: Why no pastebin.com?
A: Mangles line breaks, autoplays ads, and blocked in many places.