Find the answer to your Linux question:
Results 1 to 2 of 2
hi, i would like to use myfictionaldomain.de for my local lan and i also would like to keep as much configuration as possible on the router. am i correct to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2013
    Posts
    18

    FQDN dnsmasq expand-hosts


    hi,

    i would like to use myfictionaldomain.de for my local lan and i also would like to keep as much configuration as possible on the router.

    am i correct to assume that dnsmasq can be used with the options:
    expand-hosts
    domain=myfitionaldomain.de

    so that i only need:
    127.0.0.1 localhost
    192.168.1.1 deltapavonis


    in each clients /etc/hosts (changing the hostname of course) or could this lead to problems?

    im asking because in the dnsmasq config it says:
    Code:
    # 1) Allows DHCP hosts to have fully qualified domain names, as long
    #     as the domain part matches this setting.
    what "domain part" are they talking about?

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    The domain part is myfictionaldomain dot de without the individual hostname.
    thishost dot myfictionaldomain dot de would be the fully qualified domain name.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •