dig -x
-
I am setting up my hostname like this:
127.0.0.1 localhost.localdomain localhost
127.0.1.1 mail.eclecticmedia.co.uk mail
[my IP]***.**.***.*** mail.eclecticmedia.co.uk eclecticmedia.co.ukAnd then in my /etc/hostname I put:
mail
This resolves fine, except that when I
dig -x [IP], it is not coming up, even after 48 hoursAny ideas?
Posted 10 months ago # -
hi Marcus, to be clear, what does this come up with:-
hostname -f
.. let me know, sounds like a small config issue which I had/changed in the scripts last week.
Posted 10 months ago # -
$ hostname -f
mail.eclecticmedia.co.uk$ dig -x ***.**.***.**
li354-80.members.linode.comHere's what's happening Guv....
Posted 10 months ago # -
ok, try this (for "mail.eclecticmedia.co.uk"). backup the two files first, just in case .. then ..
#
#
in /etc/hosts:-
#
127.0.0.1 localhost 127.0.1.1 mail.eclecticmedia.co.uk mail ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts#
#
and in /etc/hostname:-
#
mail.eclecticmedia.co.uk#
#
you'll need a system reboot to see the results, again using the dig or hostname commands.Posted 10 months ago # -
Hi Olly, I did what you suggested yesterday, but it won't resolve.
Same results as before
Posted 10 months ago # -
bump
Posted 10 months ago # -
Hi Marcus,
Sorry, I had to replicate this. I think the issue is most likely your "reverse DNS" setting. (Please tell me you didn't set this up!)
Take a look at http://vpsbible.com/email/setup-postfix-email/ for the detail but, basically, you need:-
* an A record for mail.eclecticmedia.co.uk (so that's really an A record in the eclecticmedia.co.uk just for "mail", pointing to the IP with a default TTL, set via the DNS Manager)
* wait for the a record to propagate (about 15 minutes, half an hour max). Then, the RDNS itself is set by "Perform a forward lookup" in the Reverse DNS setting of the Remote Access tab of your Linode manager. Tap in "mail.eclecticmedia.co.uk". The query should come back saying the record is found and are you sure. Basically, say "Yes".
You may be prompted to reboot.
Then "dig -x [IP]" again.
Otherwise, your "/etc/hostname" should say "mail.eclecticmedia.co.uk", not just mail. Set that before the reboot.
Lemme know.
(Out of curiosity, did you set up via a script? Which one? I'll check that the above info is included.)
Posted 10 months ago # -
Hi Guv,
Sorry for the hiatus. I do appreciate your replicating all this.
Where is the reverse DNS function in the present linode dash?
Cheers
Posted 9 months ago # -
Linode (main tab) -> remote access tab (secondary tab) -> under public ips there is a reverse dns link
Posted 9 months ago # -
thanks Joe..
Posted 9 months ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
