New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zone delegation #48

Closed
lgallard opened this Issue Dec 16, 2013 · 4 comments

Comments

Projects
None yet
2 participants
@lgallard

lgallard commented Dec 16, 2013

Hi,

I noticed that zone delegation is not supported, and in deed the $ORIGIN directive is not supported at all.

I tried to delegate a zone with a glue record but I couldn't define a record that is not in the zone as explained here:

http://www.zytrax.com/books/dns/ch9/delegate.html

Do you plan to include zone delegation? (or is there a way to accomplish this in the current release?).

Thanks in advance!

@WillyXJ WillyXJ referenced this issue Dec 16, 2013

Closed

Zone delegation #49

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Dec 16, 2013

Hi,

You are correct that $ORIGIN is not supported yet which does make zone delegation difficult with fmDNS. It is a feature that's on the roadmap, but not for 1.0. I'm still working on the best way to support it and I'll leave this issue open and targeted for 1.1.

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Dec 26, 2013

If you have a POC or test environment, you can test out the changes from the 1.1-release branch (https://github.com/WillyXJ/facileManager/tree/1.1-release). With these changes I was able to successfully delegate a zone with a glue record.

v1.1 is not released yet so do not consider it stable at this time.

@lgallard

This comment has been minimized.

lgallard commented Dec 26, 2013

Thanks my friend...as soon as I can I will try it in my test environment.
El 26/12/2013 18:49, "WillyXJ" notifications@github.com escribió:

If you have a POC or test environment, you can test out the changes from
the 1.1-release branch (
https://github.com/WillyXJ/facileManager/tree/1.1-release). With these
changes I was able to successfully delegate a zone with a glue record.

v1.1 is not released yet so do not consider it stable at this time.


Reply to this email directly or view it on GitHubhttps://github.com//issues/48#issuecomment-31239989
.

@lgallard

This comment has been minimized.

lgallard commented Feb 3, 2014

Hi WillyXJ,

It works like a charm, thanks. By the way, it also works if you put this line of code:

case 'NS':
$record_name = $record_result[$i]->record_name . '.' . $domain_name;
if ($record_result[$i]->record_name[0] == '@') {
$record_name = $domain_name;
}

...

Because you are delegating a zone of your domain, and a way of doing that in bind9 is using the syntax:

subdoamin.mydomain.org. IN NS ns.anotherdomain.net.

So $record_name should be $record_name + . "." + $domain_name unless you are defining your zone record (using "@").

Sorry I didn't comment before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment