How-To: Manually Set IPv6 Address in Mac OS X

Since i began using ipv6, I have never set a routable static ipv6 address yet. I have a Linksys (w/ dd-wrt firmware) router serving as DHCP server, so i reckon there’s no use for that.

UPDATE: On second thought, there must be that ONE time. I must have configured statically when testing the tunnelbroker via wired connection. I’m not too sure.

Anyway, today – as we are testing our network for native ipv6 – i had to configure my machine and assign manual ip address. It’s only now that I discovered the problem (a bug?) in the GUI. Luckily, I am not alone, and a few searches yield helpful infos.

Using the GUI, the basic step is typically same as v4 (we all know this):
SystemPreferences -> Network->Advanced
Under Configure IPv6, select Manually and input your static ipv6 address.

However, it is likely that although settings are saved in the gui, the network config does not update at the same time.

Continue reading “How-To: Manually Set IPv6 Address in Mac OS X”

How-To: DNSSEC with DLV (with some notes)

I sometimes wonder how come I’ve never done any DNS-related How-To. I write them mainly to remind myself anyway, not for other people (but it’s a plus if someone gets something from it)… Maybe that’s it, I don’t need reminder for something I do so often.

At least DNSSEC is something that’s not-so new – I haven’t implemented them in authoritative nameservers before, just for resolvers and caching nameservers. So here’s a guide, mostly taken from ISC DLV with some sidenote¬† I inserted while working on my implementation.

Steps:

1. Enable DNSSEC on authoritative/recursive servers
2. Generate ZSK and KSK
3. Include keys into zonefile
4. Sign the zone
5. Point named.conf at the signed zone.
6. Reload zone.
7. Provide parent zone with DS records -OR-
8. Provide DLV registry with DLV record

****IN DETAIL****

Continue reading “How-To: DNSSEC with DLV (with some notes)”

How-To: Flush DNS

A reminder to myself. This is something I’ve been asked about a million times. In Windows, it’s very easy. But i always forget or mistype the command in Mac.

Windows

C:\>ipconfig /flushdns

Windows IP Configuration
Successfully flushed the DNS Resolver Cache.

Mac OS X

$ dscacheutil -flushcache (in Leopard)
Reminder to self: ds not dns. Ok? :)

$ lookupd -flushcache (lower versions)

Linux

/etc/init.d/nscd restart
i don't use this, so it doesn't really bother me.
*NSCD is Name Service Cache Daemon