Skip to content
FirstDNS

Actualité Internet et DNS

PDNS Question, or really any other auth server…

Posted on 16 février 2015 By firstdns
Non classé

Hi DNS friends.

I have a PDNS server with mysql back end. This works great.

I also have a custom built pipe back end which also works great.

I would like a query to be first attempted with the mysql backend and then fail to the pipeback end if the record is not found in the mysql table.

This seems like a simple scenario, but perhaps I’ve been spending too much time in the sun and I don’t see an easy way to do this.

I’d even entertain switching servers. If a server could check it’s local data and if it has no record, forward the query to another server before returning the nxdomain, that would also be acceptable.

I could write my own pipe back end to handle the entire process, but this seems like overkill on something that should be fairly simple.

Is there an easy way to do this and I’m missing something? Or should I create my own pipe backend to handle this?

EDIT:

Thought I should add a simple example.

I have 2 servers configured for foo.com….

Server A:

  • www.foo.com

  • ftp.foo.com

Server B:

  • mail.foo.com

  • wiki.foo.com

I would like a query to come in to server A, and rather than server A returning NXDOMAIN for wiki.foo.com, I would like it to query server B and return the result back to the original client. These don’t have to be physically separated servers, but I could do it either way.

I know I can add NS records and handle it through delegation, but in my particular scenario, this is not going to work efficiently as we’re talking about a fairly large number of records.

Edit 2: Seems pdns probably does what I want it to do out of the box. It queries back ends in order in the config file, and does not give up on the first if it doesn’t find an exact match. This behaviour allows me to do what I need to do I think. I will provide more details and likely the source code to the sub once I have it tweaked and working.

submitted by 4964d3aae7085d86607b
[link] [2 comments]

Powered by WPeMatico

Navigation de l’article

❮ Previous Post: Correct way to implement a sub-domain hosted at a different server to the root domain
Next Post: Battling forever against DNS landing pages ❯
en_US

Articles récents

  • Exploitez pleinement le port USB de votre voiture : 5 astuces à connaître
  • Bitwarden vs. 1Password : Quel est le meilleur gestionnaire de mots de passe ?
  • Besoin d’aide en maths ? Essayez cette fonction des messages de l’iPhone
  • Les écouteurs de sommeil Ozlo Sleepbuds valent-ils l’investissement pour mieux dormir ?
  • TikTok a (encore) de nouveau des problèmes avec la Commission européenne

Archives

  • mai 2025
  • avril 2025
  • mars 2025
  • février 2025
  • septembre 2024
  • août 2024
  • juillet 2024
  • juin 2024
  • mai 2024
  • avril 2024
  • mars 2024
  • février 2024
  • janvier 2024
  • décembre 2023
  • novembre 2023
  • octobre 2023
  • septembre 2023
  • août 2023
  • juillet 2023
  • juin 2023
  • mai 2023
  • avril 2023
  • mars 2023
  • février 2023
  • janvier 2023
  • décembre 2022
  • novembre 2022
  • octobre 2022
  • septembre 2022
  • août 2022
  • juillet 2022
  • juin 2022
  • mai 2022
  • avril 2022
  • mars 2022
  • février 2022
  • janvier 2022
  • décembre 2021
  • novembre 2021
  • octobre 2021
  • septembre 2021
  • août 2021
  • juillet 2021
  • juin 2021
  • mai 2021
  • avril 2021
  • mars 2021
  • février 2021
  • janvier 2021
  • décembre 2020
  • novembre 2020
  • octobre 2020
  • septembre 2020
  • août 2020
  • juillet 2020
  • juin 2020
  • mai 2020
  • avril 2020
  • mars 2020
  • février 2020
  • janvier 2020
  • décembre 2019
  • novembre 2019
  • octobre 2019
  • septembre 2019
  • août 2019
  • juillet 2019
  • juin 2019
  • mai 2019
  • avril 2019
  • mars 2019
  • février 2019
  • janvier 2019
  • décembre 2018
  • novembre 2018
  • octobre 2018
  • septembre 2018
  • août 2018
  • juillet 2018
  • juin 2018
  • mai 2018
  • avril 2018
  • mars 2018
  • février 2018
  • janvier 2018
  • décembre 2017
  • novembre 2017
  • octobre 2017
  • septembre 2017
  • août 2017
  • juillet 2017
  • juin 2017
  • mai 2017
  • avril 2017
  • mars 2017
  • février 2017
  • janvier 2017
  • décembre 2016
  • novembre 2016
  • octobre 2016
  • août 2016
  • juillet 2016
  • juin 2016
  • avril 2016
  • mars 2016
  • février 2016
  • janvier 2016
  • décembre 2015
  • novembre 2015
  • octobre 2015
  • septembre 2015
  • août 2015
  • juillet 2015
  • juin 2015
  • mai 2015
  • avril 2015
  • mars 2015
  • février 2015
  • janvier 2015
  • décembre 2014
  • novembre 2014

Catégories

  • Non classé

Méta

  • Connexion
  • Flux des publications
  • Flux des commentaires
  • Site de WordPress-FR

Copyright © 2025 FirstDNS.

Theme: Oceanly by ScriptsTown