From 73c5d9eaef395345ae64f64a47829bdbca26a9a8 Mon Sep 17 00:00:00 2001 From: Artem Baskal Date: Mon, 6 Jul 2020 11:23:23 +0300 Subject: [PATCH] - client: Improve DNS Rewrites Close #1764 Squashed commit of the following: commit 76af537597b2f3c0860716a45e4e23662cde22c8 Author: ArtemBaskal Date: Mon Jul 6 10:59:44 2020 +0300 - client: Improve DNS Rewrites --- client/src/__locales/en.json | 4 ++++ client/src/components/Filters/Rewrites/Form.js | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index 66541f0f..34ff7ae6 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -481,6 +481,10 @@ "domain_desc": "Enter the domain name or wildcard you want to be rewritten.", "example_rewrite_domain": "rewrite responses for this domain name only.", "example_rewrite_wildcard": "rewrite responses for all <0>example.org subdomains.", + "rewrite_ip_address": "IP address: use this IP in an A or AAAA response", + "rewrite_domain_name": "Domain name: add a CNAME record", + "rewrite_A": "<0>A: special value, keep <0>A records from the upstream", + "rewrite_AAAA": "<0>AAAA: special value, keep <0>AAAA records from the upstream", "disable_ipv6": "Disable IPv6", "disable_ipv6_desc": "If this feature is enabled, all DNS queries for IPv6 addresses (type AAAA) will be dropped.", "fastest_addr": "Fastest IP address", diff --git a/client/src/components/Filters/Rewrites/Form.js b/client/src/components/Filters/Rewrites/Form.js index 2db7be35..6ea545a0 100644 --- a/client/src/components/Filters/Rewrites/Form.js +++ b/client/src/components/Filters/Rewrites/Form.js @@ -63,7 +63,14 @@ const Form = (props) => { /> - +