Results 1 to 10 of 10
  1. #1
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,498

    Default Possible bug in Untangle v11

    I've been up way too many hours to make this formal, but here goes nothing.

    Code:
    # Interface 2 (eth1) DHCP
    dhcp-range=interface:eth1,10.0.1.50,10.0.1.250,3600
    dhcp-option=tag:eth1,3,10.0.1.1 # gateway
    dhcp-option=tag:eth1,1,255.255.255.0 # netmask
    dhcp-option=tag:eth1,6,10.0.0.11 # dns
    dhcp-option=tag:eth1,6,10.0.0.11,10.0.1.1 # custom dhcp option
    Historically dnsmasq would take the last line of a given configuration and run with it. In this server's case it was only going with the first one.

    dhcp-option=tag:eth1,6,10.0.0.11 # dns < this is what the clients are getting

    Not dhcp-option=tag:eth1,6,10.0.0.11,10.0.1.1 # custom dhcp option

    Bit of a problem, I'm working around it now obviously, but bit of a problem. I'm going to see if I can duplicate this in a lab tomorrow.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  2. #2
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,498

    Default

    I've replicated this condition in my lab.



    Creates the following /etc/dnsmasq.conf, just like it's supposed to.

    Code:
    [root @ untangle] ~ # cat /etc/dnsmasq.conf
    ## Auto Generated on 2014-10-09 10:29:45.261326
    ## DO NOT EDIT. Changes will be overwritten.
    
    
    # Global DNS options
    localise-queries
    expand-hosts
    no-hosts
    addn-hosts=/etc/hosts.dnsmasq
    
    # Global DHCP options
    dhcp-authoritative
    dhcp-lease-max=5000
    
    # Interface 2 (eth1) DHCP
    dhcp-range=interface:eth1,192.168.2.100,192.168.2.200,3600
    dhcp-option=tag:eth1,3,192.168.2.1 # gateway
    dhcp-option=tag:eth1,1,255.255.255.0 # netmask
    dhcp-option=tag:eth1,6,192.168.2.1 # dns
    dhcp-option=tag:eth1,6,8.8.8.8,8.8.4.4 # custom dhcp option
    
    # domain
    domain=example.com
    
    # Local DNS servers
    
    # Static DHCP entries
    
    
    server=10.10.10.1 # uplink.1
    [root @ untangle] ~ #
    But sadly, here's what the client gets...



    So we can't refine option 6 anymore, I suggest Untangle allow a comma separated values to be put in the DNS Override box, we just won't be able to do option 6 changes in the DHCP options section.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  3. #3
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,498

    Default

    Also, minor UI problem. The "Edit interface" subwindow won't resize with the browser.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  4. #4
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,498

    Default

    Untangle 10 has dnsmasq 2.55-2
    Untangle 11 has dnsmasq 2.62-3+deb7ul

    Something between those versions changed.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  5. #5
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,498
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  6. #6
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,486

    Default

    We will investigate.
    Thanks!
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  7. #7
    Untangler jcoffin's Avatar
    Join Date
    Aug 2008
    Location
    Lake Tahoe
    Posts
    9,687

    Default

    Thanks Rob!
    Attention: Support and help on the Untangle Forums is provided by
    volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  8. #8
    Untangle Ninja Jim.Alles's Avatar
    Join Date
    Jul 2008
    Location
    Central PA
    Posts
    2,469

    Default

    ...and I just figured out that Android devices 'need' this, since they always use Google DNS as a secondary, if none is provided.
    If you think I got Grumpy

  9. #9
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,498

    Default

    As far as I know that "interface:eth1" is supposed to be "tag:eth1" like the rest of it.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  10. #10
    Untangle Ninja Jim.Alles's Avatar
    Join Date
    Jul 2008
    Location
    Central PA
    Posts
    2,469

    Default

    sorry, Rob - you read the post before I deleted it. I logged it into bugzilla, instead. The way it is works until the next kernel. I didn't want give the impression it is broken, or will break anytime soon.

    But you are right:

    a tag whose name is the name of the interface on which the request arrived is also set.
    from: http://www.thekelleys.org.uk/dnsmasq...smasq-man.html
    Last edited by Jim.Alles; 11-29-2014 at 08:15 PM.

Posting Permissions

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

SEO by vBSEO 3.6.0 PL2