redirect non existent records

View: New views
3 Messages — Rating Filter:   Alert me  

redirect non existent records

by Angel Bosch Mora :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

noob here. pls be patient.

i've configured two internal domains without any problems.

now i need to resolv some FQDN that dont belong to me, so i created a new domain and added 4 records.

how can i force redirection when a client asks for an entry that isn't any of that 4?

i've been reading something about NXDOMAIN but i'm a little lost here.

regards,

abosch

--
Abans d'imprimir aquest missatge, pensau si és realment necessari. El medi ambient és cosa de tothom.

Aquest missatge es dirigeix exclusivament a la persona que n'és destinatària. Pot incloure dades confidencials i/o de caràcter personal, la difusió de les quals es regula mitjançant la Llei orgànica de protecció de dades i la Llei de serveis de la societat de la informació. Si no sou la persona destinatària que s'hi indica (o la responsable de lliurar-l'hi), en cap cas no heu de copiar aquest missatge ni lliurar-lo a terceres persones. Si heu rebut aquest missatge per error o l'heu aconseguit per altres mitjans, us demanam que ens ho comuniqueu immediatament per aquesta mateixa via i que l'elimineu de manera permanent.


_______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Re: redirect non existent records

by Kalpesh Thaker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,


I think you may need to setup a recursor on your nameserver.


This will allow you to resolve hosts without the need to setup any records for domains that you are not the authority for, in order resolve their hostnames.


Im not sure what dist of linux you are using, but on debian, you can install
the pdns recursor with the pdns-recursor package if im not mistaken.


please see the following link for more info on the pdn recursor


http://doc.powerdns.com


all the best


kalpesh.


On Friday 16 October 2009 9:03:43 am Angel Bosch Mora wrote:
> hi,
>
> noob here. pls be patient.
>
> i've configured two internal domains without any problems.
>
> now i need to resolv some FQDN that dont belong to me, so i created a new
> domain and added 4 records.
>
> how can i force redirection when a client asks for an entry that isn't any
> of that 4?
>
> i've been reading something about NXDOMAIN but i'm a little lost here.
>
> regards,
>
> abosch
>
> --
> Abans d'imprimir aquest missatge, pensau si és realment necessari. El medi
> ambient és cosa de tothom.
>
> Aquest missatge es dirigeix exclusivament a la persona que n'és
> destinatària. Pot incloure dades confidencials i/o de caràcter personal, la
> difusió de les quals es regula mitjançant la Llei orgànica de protecció de
> dades i la Llei de serveis de la societat de la informació. Si no sou la
> persona destinatària que s'hi indica (o la responsable de lliurar-l'hi), en
> cap cas no heu de copiar aquest missatge ni lliurar-lo a terceres persones.
> Si heu rebut aquest missatge per error o l'heu aconseguit per altres
> mitjans, us demanam que ens ho comuniqueu immediatament per aquesta mateixa
> via i que l'elimineu de manera permanent.
>
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users@...
> http://mailman.powerdns.com/mailman/listinfo/pdns-users



_______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Re: redirect non existent records

by Hugo van der Kooij :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/16/09 09:03, Angel Bosch Mora wrote:

> now i need to resolv some FQDN that dont belong to me, so i created a new domain and added 4 records.
>
> how can i force redirection when a client asks for an entry that isn't any of that 4?

If you create a zone and declare yourself authorative for it then you
take over that zone and a recursor will not solve that.

It definitly not something I would recommend a start to do at all.

Either you copy the original zone information and add your own entries
into it everytime you update your copy. (Which is rather a pain.)

Or you create the zone and then setup the four hosts you want to add and
setup a wildcard NS record pointing to the original nameserver(s).

Something like:

stealthis.example.net A 192.0.2.10
stealthat.example.net A 192.0.2.11
thisto.example.net A 192.0.2.12
final.example.net A 192.0.2.13
*.example.net NS originalzone.ns


Hugo.
_______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users