DNS fails when setting "cname" dnsmasq option

Discussion in 'Tomato Firmware' started by Eiríkr, Jan 27, 2009.

  1. Eiríkr

    Eiríkr Addicted to LI Member

    Using Tomato v1.23 (most recent at time of writing) on WRT54GL v1.1.

    So I'm curious about trying some things out, and check out the official dnsmasq man page:


    The man page describes an option for setting up intra-LAN CNAMEs, so I can use alternate names for my machines:

    Return a CNAME record which indicates that <cname> is really <target>. There are significant limitations on the target; it must be a DNS name which is known to dnsmasq from /etc/hosts (or additional hosts files) or from DHCP. If the target does not satisfy this criteria, the whole cname is ignored. The cname must be unique, but it is permissable to have more than one cname pointing to the same target. ​

    Judging from the wikibook description of entering dnsmasq options, it looks like I should enter options into the Dsnmasq Custom Configuration text box, minus the leading double hyphen.

    However, any attempt at setting up a CNAME seems to disable any DNS capability. Removing this option from the text box and hitting "Save" again will then bring DNS back up. Any ideas what gives? Googling around shows that CNAME capability was added to dnsmasq in version 2.46; is Tomato v1.23's dnsmasq older than this?


    -- Eiríkr
  2. Eiríkr

    Eiríkr Addicted to LI Member

    The only thing I've been able to find so far is that Tomato's dnsmasq version was upped to v2.45 in Tomato v1.21, as noted in the changelog. So I guess cname functionality is a non-starter, at least for now.

    Any news on when the next Tomato update might be coming out? The last four came out in relatively quick succession, with .20 and .21 in July, .22 in November, and then .23 in December. I'm hoping we might see something in another month or two.


    -- Eiríkr
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice