-
Notifications
You must be signed in to change notification settings - Fork 169
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
need empty-zones-enable no; in named.conf #4629
Comments
hi @adambertsch , thanks your requirements, we will consider your mentioned. |
Hi @adambertsch , could you provide your failed examples? for excample, 'forwarders', master, nameservers ,domain from site table, /etc/resolv.conf, /etc/hosts, related network entry from networks table, makedns outputs etc. Let me reproduce this in my environment. Thanks. |
The issue is fairly simple. Current makedns generates a named.conf that looks like this:
And I need to generate this one:
|
@adambertsch , thanks your response. |
@adambertsch @bybai. PMR: 36104,227,000 was created to track this issue. |
Hi @gzjfn4, I am working on this. Thanks |
Hi @adambertsch and @gzjfn4 , could you confirm your OS? |
@bybai - the OS is Red Hat Enterprise Linux version 7.3 on Power 8 Little Endian and 7.4 on Power 9 Little Endian |
Hi @adambertsch and @gzjfn4 , The steps: 1, update your xCAT management 2 files based on the new code change https://github.com/xcat2/xcat-core/pull/4650/files. The 2 files location are:
2, restart xcatd on xCAT MN:
3, change "emptyzonesenable=no" in site table, and execute "makedns -n" or "makedns":
4, check result in /etc/named.conf
|
This is great. Thanks very much. |
Hi @adambertsch , |
For sites that would like to forward to their own DNS servers, the site table includes the 'forwarders' attribute to allow for this. If the site internal DNS resolves RFC1918 addresses, xCAT dns doesn't work. The reason is that empty-zones-enable in BIND defaults to yes, which creates by default empty reverse zones for all rfc1918 address blocks.
Please allow for a site option to add empty-zones-enable no; to options {} in named.conf for xCAT master node.
The text was updated successfully, but these errors were encountered: