Results 1 to 3 of 3

Thread: DNSMasq - help with wildcard for url

  1. #1
    Join Date
    Nov 2012
    Beans
    2

    DNSMasq - help with wildcard for url

    Hi!

    I've just set up DNSMasq to use specific DNS for sites like hulu and bbc etc.
    It works great for those sites but I have a problem with tv.nrk.no.

    I managed to get the available live streams to work by adding this to dnsmasq.conf:
    Code:
    server=/tv.nrk.no/nrk1-f.akamaihd.net/nrk2-f.akamaihd.net/nrk3-f.akamaihd.net/xxx.xx.xx.xx
    That makes it possible for me to stream the 3 channels that are available live.


    The problem is to get the on demand streams to work. They have akamai addresses like this:
    Code:
    nordondxx-f.akamaihd.net.........
    Where xx changes from every video. Like 10a or 27f etc.


    Can I use some kind of wildcard to get it to work with every nordondxx-f.akamaihd.net video somehow? I don't want to use the smartdns for every akamai link, just the ones from NRK.

    thanks for any help
    Last edited by nozomii; November 28th, 2012 at 11:45 PM.

  2. #2
    Join Date
    Nov 2012
    Beans
    2

    Re: DNSMasq - help with wildcard for url

    what was that? oh, right... absolute silence

  3. #3
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: DNSMasq - help with wildcard for url

    I think you will be fine without the first part of the domain name.

    Code:
    server=/akamaihd.net/xxx.xxx.xxx.xxx
    That's what I use for internal wildcard routing altough I use address and not server.

Bookmarks

Posting Permissions

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