1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.


Discussion in 'Tomato Firmware' started by i1135t, May 12, 2010.

  1. i1135t

    i1135t Network Guru Member

    Hey all, I would like to know if anyone can try compiling a package called, MaraDNS, to work with tomato? I would do it myself, but I haven't a clue on how to compile, let alone on Tomato's environment. The reason is that I have been trying to get OpenVPN to tunnel through port 53, but cannot due to restrictions of dnsmasq running on that port. I have read on another forum where people said to try setting dnsmasq config to port=0, so it can still be used for DHCP, but disables the dns functionality. I can then use MARADNS for all my dns lookups. It's a long shot, but worth a try if I can get a working binary to test against. Thanks for any help!
  2. mstombs

    mstombs Network Guru Member

    Setting dnsmasq port to 0 disables dns, but you can also specify a different port if you know how to tell your clients to use it?
  3. i1135t

    i1135t Network Guru Member

    I guess the real problem is, I would like port 53 to work for normal dns functions while still be able to bind to that port with another process, say OpenVPN. Not sure on what interface(s) OpenVPN needs to bind to, but there is a conflict somewhere and cannot run because of this issue. Is it possible for what I am asking, if I can set MaraDNS to bind only to br0?
  4. mstombs

    mstombs Network Guru Member

  5. i1135t

    i1135t Network Guru Member

    Oh, I just wanted to test the ability to bybass hotspot authentication through OpenVPN as users have stated that they have successfully got it to work. Unfortunately, getting it to work is more troublesome, as all valid DNS queries run on port 53.

    Thanks for pointing that out. Since that is the case, I may not need MaraDNS at all then. Now, just speaking out loud, if I were able to setup an external linux box hosting another OpenVPN server listening on port 53, I could theoretically forward external requests from my router to that box. I would have to kill dnsmasq locally on the linux box first or figure out a way to forward DNS lookups from it to my router without interfering with the OpenVPN connection. How would I be able to accomplish this? If I can figure that out, it could work...
  6. rhester72

    rhester72 Network Guru Member

    I _seriously_ doubt it is of any use here, but I compiled MaraDNS and threw it up on my utilities site if anyone is interested. Few other goodies of late there as well.

  7. mstombs

    mstombs Network Guru Member

    It appears that dnsmasq is not a direct competitor of MaraDNS, the latter aims to be a full dns service, dnsmasq is just a caching dns request forwarding proxy. dnsmasq can be told to selectively forward specific domains to specific upstream (internet or local) servers.

    There are OpenWRT users who use a combination of both.
  8. i1135t

    i1135t Network Guru Member

    Thanks Rester, but MaraDNS kept crashing after using it for some time. Nothing shows up in the logs unfortunately, but thanks anyways. Any chance of you compiling dnsmasq as it appears to be more stable?

Share This Page