Skip to content
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

Ipv6 #19

Open
Nevercold opened this issue Dec 29, 2021 · 3 comments
Open

Ipv6 #19

Nevercold opened this issue Dec 29, 2021 · 3 comments

Comments

@Nevercold
Copy link

it would be good if the whole thing would also work with ipv6.

@Nevercold
Copy link
Author

or at least one function like ipv6 to addr

@markrogoyski
Copy link
Owner

Hi @Nevercold,

Thank you for your interest in this project.

Can you provide an example of what kind of functionality you are requesting. For example, what are the inputs and outputs with at least one concrete example.

Thanks,
Mark

@Nevercold
Copy link
Author

Nevercold commented Dec 29, 2021

Hey!

i actually just need to get the arpa from an ipv6 address.

Input: 2001:db8::1
Output: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa

$sub = new IPv6\SubnetCalculator('2001:db8::1');
$ipv6ArpaDomain = $sub->getIPv6ArpaDomain();

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants