Yes, you’re in luck! We added this internally for 0.4.6 - public announcement pending CLI support, which will make it easier to manage the DNS redirect entries.
If you want to go the manual route, here’s the format:
DNS redirect entries are stored in a 128 byte block at location 1890 in the DCT region.
The domain format is zero or more blocks like this:
[length of name (as binary)
name]+
null character
e.g. “www.particle.io” is encoded as 17 bytes:
0x03 “www” 0x08 “particle” 0x02 “io” 0x00
The end of the list is denoted by an extra null byte (0x00).
that’s brilliant, thanks @mdma
Are the broadcom entries contained in the same DCT block, ie will they be overwritten by writing to it?
If not, do you know what the full list is or where to find it?
The broadcom entries are separate, so not overwritten, although tbh I wouldn’t depend upon them being around forever - they seem quite arbitrary. You can probably find them by looking at system-part2.bin and searching for “google”