DNS Recursion Issue

Bugs in eFa 4
Post Reply
fakhar.khan
Posts: 12
Joined: 28 Jul 2019 17:08

DNS Recursion Issue

Post by fakhar.khan »

Hello,

I am getting a problem after installing EFA v4 three times. At MailWatch no message at Recent Message/Quarantine wasn't shown. I try to dig out the problem with old post on this forum but in vain.

I read shawniverson post which says enable DNS Recursion. I try to do it but if I Disabled it then it will remain disable and vise versa. After the first fresh installation of EFA, I Disabled it and it will remain disabled. Then I try to Enabled it but the results are the same. After third attempt, I try again and got the same four liner error

On the third attempt, when changing DNS Recursion to Disable at the Configuration menu. It accepts my local DNS but afterward gives this four liner error. (Just to inform, this message come on every time).

sed: -e expression #1, char 38: unknown command: `.'
sed: -e expression #1, char 41: unknown command: `.'
sed: -e expression #1, char 47: unknown command: `.'
sed: -e expression #1, char 48: unknown command: `.'
All done

and last time also give

/var/eFa/lib/eFa-Configure/func_ipsettings: line 133: RECURSIVEDNS: command not found
Recursion will be DISABLED. Please set your DNS entries.

if I provide DNS the above mention four-line error occurred.

I struggle a lot by doing RND at this forum but with no success. So looking forward for your help.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: DNS Recursion Issue

Post by shawniverson »

User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: DNS Recursion Issue

Post by shawniverson »

Fix going out with next update.

Let me know if this helps.
fakhar.khan
Posts: 12
Joined: 28 Jul 2019 17:08

Re: DNS Recursion Issue

Post by fakhar.khan »

Shawn, nDNS is now enabling/disabling but four line error is still there.
fakhar.khan
Posts: 12
Joined: 28 Jul 2019 17:08

Re: DNS Recursion Issue

Post by fakhar.khan »

Job for unbound.service failed because the control process exited with error code. See "systemctl status unbound.service" and journalctl -xc" for details.

After giving a secondary IP in the configuration menu, it gives the above error. My unbound services are working perfectly.

I am also stuck that my Mailwatch don't show any message as well even DNS recursion is enabled.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: DNS Recursion Issue

Post by shawniverson »

I think you may be missing some fields in your /etc/eFa/eFa-Config

I'll try to figure out based on your errors which ones those are.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: DNS Recursion Issue

Post by shawniverson »

Correction, I can't reproduce with missing fields in that file....

Do me a favor...look in /etc/unbound/conf.d/ remove any files present there please and rerun.
fakhar.khan
Posts: 12
Joined: 28 Jul 2019 17:08

Re: DNS Recursion Issue

Post by fakhar.khan »

Thank you very much.

There was nothing missing on /etc/eFa/eFa-Config

but removing /etc/unbound/conf.d/forwarders.conf make my day. It contains these appended contents

forward-zone:
name: "."
forward-addr:
fakhar.khan
Posts: 12
Joined: 28 Jul 2019 17:08

Re: DNS Recursion Issue

Post by fakhar.khan »

I would like to inform that when I rerun and enable DNS resursion mode. After checking
/etc/unbound/conf.d/forwarders.conf

its content are

forward-zone:
name: "."
forward-addr: (x.x.x.x) x.x.x.x is my DNS address.
Post Reply