Skip to content

Commit 1f6fa75

Browse files
sylphrena01A3Dev
andauthored
Fix getent params in backend/lib/ddns_resolver/ddns_resolver.js
Co-authored-by: Jenson R <[email protected]>
1 parent 72e2e09 commit 1f6fa75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/lib/ddns_resolver/ddns_resolver.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const ddnsResolver = {
4848
* @returns {Promise} resolves to the IPV4 address of the host
4949
*/
5050
_queryHost: (host) => {
51-
return utils.execSafe('getent', ['ahostsv4', 'hosts', host])
51+
return utils.execSafe('getent', ['ahostsv4', host])
5252
.then((result) => {
5353
if (result.length < 8 || !/^(\d{1,3}\.){3}\d{1,3}$/.test(result)) {
5454
logger.error(`IPV4 lookup for ${host} returned invalid output: ${result}`);

0 commit comments

Comments
 (0)