abh / geodns

DNS server with per-client targeted responses
Apache License 2.0
1.37k stars 191 forks source link

support weighted alias #110

Closed semihalev closed 5 years ago

semihalev commented 5 years ago

I re-based dev branch and patched weighted aliases for new structure. Can you please check this?

Also I released a dns recursive server (https://github.com/semihalev/sdns) if you have free time, can you browse this project?

semihalev commented 5 years ago

sorry forgot that; here the example zone test.example.org.json

{
  "data":{
    "bad-example-there-really-should-be-an-ns-record-at-the-apex-here":{

    },
    "bar":{
      "a":[
        [
          "192.168.1.2"
        ]
      ]
    },
    "sub-alias":{
      "alias":[
        [
          "sub",
          15
        ],
        [
          "anothersub",
          10
        ]
      ]
    },
    "sub":{
      "ns":[
        "ns1.example.com",
        "ns2.example.com"
      ]
    },
    "anothersub":{
      "ns":[
        "ns3.example.com",
        "ns4.example.com"
      ]
    }
  }
}

if you want, i can update the test zone file also.

semihalev commented 5 years ago

Do you want to continue with this?

imseppl commented 5 years ago

sure!

On Wed, Nov 7, 2018 at 9:36 AM Yasar Alev notifications@github.com wrote:

Do you want to continue with this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abh/geodns/pull/110#issuecomment-436688932, or mute the thread https://github.com/notifications/unsubscribe-auth/AM2WMMve_mTvnuNO7RdaXXsw8P26OIY2ks5uswwigaJpZM4YDDZf .

--

https://about.me/seppl?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb Joseph about.me/seppl https://about.me/seppl?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb Phone: 5876046803 Breve.me