Skip to content

com.limdm.dns, com.limdm.ntp, com.limdm.proxy

Console: DNS, Time servers and Proxy.

{"servers": ["10.0.0.53"], "domains": ["corp.example.com"], "dnssec": true}
{"servers": ["ntp1.example.com", "ntp2.example.com"]}
{"http": "http://proxy.example.com:3128", "https": "http://proxy.example.com:3128", "no_proxy": "localhost,127.0.0.1,.example.com"}
Field Type Rules
servers (dns) list of text IP addresses
domains (dns) list of text search domains
dnssec (dns) true or false DNSSEC=yes; otherwise allow-downgrade
servers (ntp) list of text at least one host name or IP address
http, https (proxy) text http:// or https:// with host and optional port and path; no user or password, because the values land in world readable files
no_proxy (proxy) text comma separated hosts, domains or networks

DNS uses systemd-resolved (/etc/systemd/resolved.conf.d/60-limdm.conf); a device without an active systemd-resolved reports the declaration as failed. NTP uses systemd-timesyncd (/etc/systemd/timesyncd.conf.d/60-limdm.conf) or chrony (/etc/chrony/sources.d/limdm.sources).

Proxy values are written to /etc/profile.d, /etc/environment.d, apt (/etc/apt/apt.conf.d/60limdm-proxy), dnf5 (/etc/dnf/libdnf5.conf.d), dnf4 (proxy= in /etc/dnf/dnf.conf, RHEL 9 family) and, on SUSE, PROXY_ENABLED, HTTP_PROXY, HTTPS_PROXY and NO_PROXY in /etc/sysconfig/proxy (read by zypper and YaST; the other lines of the file stay). They also reach the agent itself: a systemd drop in for limdm-agent.service (followed by systemctl daemon-reload) sets them for the next start, and the running agent applies them at once to its own connections and to every tool it runs (pacman, apk, flatpak, dnf, apt, zypper). Removing the declaration removes all of this and puts back the values /etc/sysconfig/proxy had before; a proxy= in dnf.conf or a sysconfig key that was changed by hand stays.

Field reference

Generated from the payload schema of the server (GET /api/v1/schemas/{type}), the same reference the console editor shows. Unknown fields are rejected.

com.limdm.dns

Console: DNS. DNS servers and search domains.

Field Type Meaning Limits
servers list of string Servers IP addresses of the DNS servers.
domains list of string Search domains
dnssec boolean DNSSEC Validate DNS answers.
Example payload
{
  "servers": [
    "10.0.0.53"
  ],
  "domains": [
    "corp.example.com"
  ],
  "dnssec": true
}

com.limdm.ntp

Console: Time servers.

Field Type Meaning Limits
servers list of string Servers Host names or addresses of time servers.
Example payload
{
  "servers": [
    "ntp1.example.com",
    "ntp2.example.com"
  ]
}

com.limdm.proxy

Console: Proxy. System wide HTTP and HTTPS proxy.

Field Type Meaning Limits
http string HTTP proxy For example http://proxy.example.com:3128.
https string HTTPS proxy
no_proxy string Exceptions Comma separated hosts and domains without proxy.
Example payload
{
  "http": "http://proxy.example.com:3128",
  "https": "http://proxy.example.com:3128",
  "no_proxy": "localhost,127.0.0.1,.example.com"
}