FS#42879 - [bind] Ship default local host entries for IPv6

Attached to Project: Arch Linux
Opened by DJ Lucas (DJ_Lucas) - Sunday, 23 November 2014, 06:28 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 14 December 2014, 03:48 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: We already include localhost.zone and 127.0.0.zone, should proabably include the IPv6 entries for localhost by default now too.

Additional info:
* package version(s)
9.10.1-2

* config and/or log files etc.
Add AAAA record in localhost.zone file:
1D IN AAAA ::1

Add 0.ip6.zone file with the contents:
@ 1D IN SOA localhost. root.localhost. (
42 ; serial (yyyymmdd##)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum ttl

1D IN NS localhost.
$ORIGIN 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 1D IN PTR localhost.

Optionally, although I prefer the individual file in the event IPv6 is not enabled, you can probably append the $ORIGIN line and PTR record above to the existing 127.0.0.zone file and rename appropriately.

Steps to reproduce:
N/A: this is just a feature request. I just noticed that a ton of sites still have ip6.int. in their docu instead of ip6.arpa. for the ORIGIN. I blindly copied and pasted instead of counting zeros, wasted a few moments scratching my head about the out of scope error and counted zeros about 100 times before the light bulb came on. Figured maybe it'll help somebody else if it's included by default.
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Sunday, 14 December 2014, 03:48 GMT
Reason for closing:  Implemented
Additional comments about closing:  bind-9.10.1.P1-2
Comment by DJ Lucas (DJ_Lucas) - Sunday, 23 November 2014, 06:30 GMT
Oops, white space didn't carry over. Text is valid anyway, just put the tabs back and make it look pretty if you elect to do this.

Loading...