systemd-resolved: serve uplink-names, writing the host names file (issue 960)
The verb checks each host name (root, wildcard, trailing dot, a label over 63 bytes, the mesh's own domain or under it, more than 8), writes /var/lib/node-resolver/uplink-names whole through sudo -n install then sudo -n mv -f, and answers the names with the link carrying the default route (the lowest-metric kernel default route that is neither routed nor the private network's interface) and when they were set. Builds: design 08 sign-in-page §2, §5, §6
This commit is contained in:
@@ -28,7 +28,8 @@
|
||||
"serves": [
|
||||
"routes",
|
||||
"route",
|
||||
"unroute"
|
||||
"unroute",
|
||||
"uplink-names"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -102,6 +103,13 @@
|
||||
"health": {
|
||||
"kind": "unit"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "uplink-names",
|
||||
"type": "directory",
|
||||
"path": "/var/lib/node-resolver",
|
||||
"mode": "0755",
|
||||
"unknown": "program"
|
||||
}
|
||||
],
|
||||
"build": {
|
||||
|
||||
Reference in New Issue
Block a user