Re: dnsmasq for simple names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2016-01-14 at 19:45 +0100, Tom H wrote:
> On Thu, Jan 14, 2016 at 5:49 PM, Patrick O'Callaghan
> <pocallaghan@xxxxxxxxx> wrote:
> > On Thu, 2016-01-14 at 15:48 +0100, Tom H wrote:
> 
> 
> > > Assuming that your local network is 192.168.1.0 and your local
> > > domainname is "poc".
> > > 
> > > 1) If you run dnsmasq on the clients and the server:
> > > 
> > > - set a domain in your client and server hostname configs
> > > 
> > > - run dnsmasq on the clients with "
> > > --server=/poc/ip_address_of_server
> > > --rev-server=192.168.1.0/24,ip_address_of_server"
> > 
> > Thanks for replying, but I'm not sure this is what I want:
> 
> You're welcome.
> 
> 
> > 1) I'm trying not to set any domain, just use local simple
> > (unqualified) names.
> 
> How will the resolver know whether "patrick1" (example host from my
> earlier email) is a meant to be resolved via a local or an upstream
> server?

Because that's what domain-needed does. It will only try to resolve
upstream if the name has a domain part.

> > 
> [...]

> I've just downloaded and expanded the dnsmasq rpm. Going through
> "/etc/dnsmasq.conf", IIUC, for my previous example:
> 
> server=/poc/192.168.1.111
> server=/1.168.192.in-addr.arpa/192.168.1.111
> local=/poc/

That appears to work. I guess I have to read the docs more carefully.

Thanks again.

poc
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux