• SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

dnsmasq question

Noremacyug

Regular Contributor
i need to add this to dnsmasq for my outgoing email.

address=/p17-smtp.mail.me.com/17.158.52.52

i created the dnsmasq.conf.add in the jffs/configs location. what exactly do i need to place in the file? i tried just adding "address=/p17-smtp.mail.me.com/17.158.52.52" but that doesn't look to be the correct format.

thanks
 
Anyone?


Sent from my iPhone

It would help if you descibed in detail why you think it 'doesn't look right'

i.e. when the dnsmasq service is started does it show as correctly processing the 'address=' directive in syslog or are there error messages reported?

...according to a sample dnsmasq documentation page the syntax of the directive is shown:

Code:
# Add domains which you want to force to an IP address here.
# The example below send any host in double-click.net to a local
# web-server.
#address=/double-click.net/127.0.0.1

Regards,
 
It throws errors in syslog as well as seems to break the internet access. Just made me think that perhaps I have it in the wrong format or am messing up elsewhere.


Sent from my iPhone
 
Did you add that line in quotes (I believe it shouldn't have quotes)? Also, are you using a linux-friendly text editor to create your conf.add file?
 
I've tried it with and without quotes. As for the text editor, I used vi during ssh session. Is vi ok?

I've also had vpn issues. I'll try to get that sorted out first before continuing with this to make sure the vpn isn't the issue rather than this.

Sent from my iPhone
 
Last edited:
well, got the vpn issue sorted out and re-added the

address=/p17-smtp.mail.me.com/17.158.52.52

without quotes to dnsmasq.conf.add and all is well now. the vpn must have been causing issues as well. thanks to all for the help.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top