-
Notifications
You must be signed in to change notification settings - Fork 99
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
Writing bind files with ipaddress #50
Conversation
to ask addresses for the reverve domain names which are used in the SOA Records. There are subnet/supernet functions in ipv4 this was missing in ipv6. I decided not to use the same api in ipv6, instead i added a function called each_net which loops over all nets.
…6.Cleaned trailing spaces.
Hello, i refactored the summarize function that is works with ipv4 and ipv6. There are some pull requests pending, it would be nice if you just give me a small notice that you are willing to integrate these fixes/enhancemens. If you are not planning to integrate these fixes i need to start my own branch of ipaddress. Meno |
the prefix-1 on supernet calculation had modified the input instances. This behavior is a not wanted sideeffect
i dropped it a made four_bit_networks method instead these method has been only used by the dns writer so that causes no problem.
* formating
@mabels: this is out of scope for ipaddress and really deserves its own gem. No reason you couldn't use ipaddress as a dependency. Closing without reviewing or committing. |
@francisluong this was opened in 2014. Please don't feel offened! thx meno |
👍 |
during my work to port the stuff i changed the object structure so that there is no ipv4 or ipv6 specific object. Due to this i abstracted the most of the functions to now one implementation in the ipaddress class. |
Hello,
i used ipaddress to write name server configuration. And there is the reverse function very handy but
to write a complete file you need to write a SOA record which contains a shorter string than fqdn. So
i added the function to generate these special strings for ipv4 and ipv6.
On that way a added function to ipv6 which allows the same like supernet/subnet in ipv4.
cheers
meno