• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Cname/alias for external domain

Scheduled Pinned Locked Moved DHCP and DNS
34 Posts 8 Posters 21.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ?
    A Former User
    last edited by Aug 20, 2013, 12:44 AM

    @doktornotor:

    Sure; install tinydns or bind, or another authoritative DNS server. Neither dnsmasq, nor unbound. Or finally stop wasting the time and invest 5 minutes into reinstalling whatever broken thing you have there, instead of discussing for two days how to work around it.

    get the stick out of your ass.

    if you don't want to help, that's fine with me.

    i could have posted the question and gotten a reply 10 minutes later.  there goes your two day comment.

    also, had pfsense had this feature and someone posted about it, it would have answered my question and i could have used it for something else in the future.

    1 Reply Last reply Reply Quote 0
    • D
      doktornotor Banned
      last edited by Aug 20, 2013, 12:49 AM

      @tomdlgns:

      get the stick out of your ass.

      Thanks for your kind "recommendation". Just found the ignore list feature, sanity restored.  ::)

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Aug 20, 2013, 1:04 AM

        It's actually a valid question/use case. Ugly, sure. Not ideal? Certainly. But there are always devices you cannot control. Black boxes from vendors that won't update or would charge exorbitant fees to do so.

        Unfortunately the way that CNAME records work in dnsmasq, the target of the CNAME must also be locally known. So you can CNAME something in /etc/hosts, but not something that would involve making a query to another remote DNS server. It's a limitation of dnsmasq, not DNS in general.

        There is a more in-depth answer here:
        http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2006q1/000583.html

        But ultimately, to do that you'll need a much fancier DNS system.

        If you happen to have a domain with Namecheap, their hosted DNS that you can manage in their control panel does support this function.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by Aug 20, 2013, 1:15 AM

          @jimp:

          It's actually a valid question/use case. Ugly, sure. Not ideal? Certainly. But there are always devices you cannot control. Black boxes from vendors that won't update or would charge exorbitant fees to do so.

          Unfortunately the way that CNAME records work in dnsmasq, the target of the CNAME must also be locally known. So you can CNAME something in /etc/hosts, but not something that would involve making a query to another remote DNS server. It's a limitation of dnsmasq, not DNS in general.

          There is a more in-depth answer here:
          http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2006q1/000583.html

          But ultimately, to do that you'll need a much fancier DNS system.

          If you happen to have a domain with Namecheap, their hosted DNS that you can manage in their control panel does support this function.

          thank you, this is helpful, in that, it is a better response as to why it won't work.

          the current domain/old domain i started the thread about is an expired dyndns hostname.

          the client side program is using olddomain.gotdns.com and that name is no longer valid on their network.  i don't want to get into why it isnt valid anymore, that isn't the point.  however, that is what prompted me to ask the question in this forum.

          yes, reinstalling the software will work, but sometimes finding another way around the problem is fun due to the challenge involved.

          thanks for the reply, jimp.

          1 Reply Last reply Reply Quote 0
          • G
            gogol
            last edited by Aug 20, 2013, 8:36 AM

            Great, I have learned too  :D

            1 Reply Last reply Reply Quote 0
            • N
              nubletizer
              last edited by Nov 30, 2016, 4:28 AM

              Does anyone know if this is possible now? This is useful in cases where you'd want to re-direct a URL to a reverse proxy.

              1 Reply Last reply Reply Quote 0
              • J
                jimp Rebel Alliance Developer Netgate
                last edited by Nov 30, 2016, 9:38 PM

                No, you still cannot make a CNAME to an external hostname using built-in tools.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • C
                  cmbc
                  last edited by Jun 6, 2017, 6:37 PM

                  Hello, any news on that?
                  I try also to do the same to filter youtube.com content based on this docs:
                  https://support.google.com/youtube/answer/6214622?hl=en

                  Thanks for your help

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jon G
                    last edited by Oct 5, 2017, 10:41 PM

                    I'm also trying to figure out how to configure pfsense to use the youtube filters:
                    https://support.google.com/youtube/answer/6214622?hl=en

                    If anyone has another approach I'd love to hear it.

                    Thanks

                    • Jon
                    1 Reply Last reply Reply Quote 0
                    • I
                      idarlund
                      last edited by Jul 23, 2018, 4:29 PM

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received