Fix local rewrites in Adguardhome
This commit is contained in:
parent
8606e88f56
commit
79d946c196
|
@ -17,16 +17,20 @@
|
|||
];
|
||||
ratelimit = 0;
|
||||
safe_search.enabled = true;
|
||||
rewrites = [
|
||||
{
|
||||
domain = "xenia.me.uk";
|
||||
answer = "192.168.0.31";
|
||||
}
|
||||
{
|
||||
domain = "*.xenia.me.uk";
|
||||
answer = "A"; # "192.168.1.230";
|
||||
}
|
||||
];
|
||||
rewrites =
|
||||
let
|
||||
local = "192.168.0.31";
|
||||
in
|
||||
[
|
||||
{
|
||||
domain = "xenia.me.uk";
|
||||
answer = local;
|
||||
}
|
||||
{
|
||||
domain = "*.xenia.me.uk";
|
||||
answer = local;
|
||||
}
|
||||
];
|
||||
blocked_services.ids = [ ];
|
||||
};
|
||||
filtering = {
|
||||
|
|
Loading…
Reference in a new issue