diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-09-25 19:21:36 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-09-25 19:21:36 +0200 |
commit | f39f5dde342aa5e14d1fb4155920c61ac5fd11b1 (patch) | |
tree | b6282ff86de6e8e40281d73e6d4f5b8d1140083c /src/utils | |
parent | 7f09beeac924b1bc9bf61f8153870bd4cb939b96 (diff) | |
download | vyos-1x-f39f5dde342aa5e14d1fb4155920c61ac5fd11b1.tar.gz vyos-1x-f39f5dde342aa5e14d1fb4155920c61ac5fd11b1.zip |
dns: forwarding: T2921: migrate to get_config_dict()
Diffstat (limited to 'src/utils')
-rwxr-xr-x | src/utils/vyos-hostsd-client | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/vyos-hostsd-client b/src/utils/vyos-hostsd-client index 48ebc83f7..d4d38315a 100755 --- a/src/utils/vyos-hostsd-client +++ b/src/utils/vyos-hostsd-client @@ -99,9 +99,9 @@ try: raise ValueError("--nameservers is required for this operation") client.add_forward_zones( { args.add_forward_zone: { - 'nslist': args.nameservers, - 'addNTA': args.addnta, - 'recursion-desired': args.recursion_desired + 'server': args.nameservers, + 'addnta': args.addnta, + 'recursion_desired': args.recursion_desired } }) elif args.delete_forward_zones: |