What is the order of server parsing

Thanks, this is a different config from what you posted above. Indeed, with this config you can get a panic because the domains may not have labels 2 and 3. I’ll fix it so it won’t panic, but be aware that the placeholders will return empty string in that case.