1 |
On Mon, Oct 24, 2005 at 06:08:05PM +0100, Jonathan Wright wrote: |
2 |
> |
3 |
> That's fine for outgoing mail, but unless an MX record exists for the |
4 |
> internal server on a domain/subdomain, it's difficult to 'direct' |
5 |
> traffic from the outside in. |
6 |
> |
7 |
> The only other way I can think off is to test the server using either a |
8 |
> telnet port or a script from an off-site computer onto the new server. |
9 |
|
10 |
No, it is very easy. All I had was a static IP from my service provider |
11 |
and a router with port 25 forwarded to an internal mail server host. |
12 |
|
13 |
To get the mail working all I had to do was create a domain name |
14 |
(using the free service at freedns.afraid.org) and point it at |
15 |
my static IP. |
16 |
|
17 |
I think it is possible to setup a MX record explicitly, but I have |
18 |
never bothered because so far everything that has tried to sent |
19 |
mail to it has worked fine defaulting to using the A record in |
20 |
the absence of a MX record. |
21 |
|
22 |
This mailing list is being delivered to my host using the address |
23 |
gentoo_at_skaro.afraid.org, and dig gives me the following output |
24 |
for the domain: |
25 |
penemunde usb # dig skaro.afraid.org |
26 |
|
27 |
; <<>> DiG 9.2.5 <<>> skaro.afraid.org |
28 |
;; global options: printcmd |
29 |
;; Got answer: |
30 |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34970 |
31 |
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 7, ADDITIONAL: 7 |
32 |
|
33 |
;; QUESTION SECTION: |
34 |
;skaro.afraid.org. IN A |
35 |
|
36 |
;; ANSWER SECTION: |
37 |
skaro.afraid.org. 60 IN A 195.157.127.247 |
38 |
|
39 |
;; AUTHORITY SECTION: |
40 |
afraid.org. 86400 IN NS ns5.afraid.org. |
41 |
afraid.org. 86400 IN NS ns6.afraid.org. |
42 |
afraid.org. 86400 IN NS ns7.afraid.org. |
43 |
afraid.org. 86400 IN NS ns1.afraid.org. |
44 |
afraid.org. 86400 IN NS ns2.afraid.org. |
45 |
afraid.org. 86400 IN NS ns3.afraid.org. |
46 |
afraid.org. 86400 IN NS ns4.afraid.org. |
47 |
|
48 |
;; ADDITIONAL SECTION: |
49 |
ns1.afraid.org. 1800 IN A 70.84.177.198 |
50 |
ns2.afraid.org. 1800 IN A 204.11.167.30 |
51 |
ns3.afraid.org. 1800 IN A 69.28.135.46 |
52 |
ns4.afraid.org. 1800 IN A 70.86.10.35 |
53 |
ns5.afraid.org. 1800 IN A 70.86.10.32 |
54 |
ns6.afraid.org. 1800 IN A 70.86.10.33 |
55 |
ns7.afraid.org. 3600 IN A 70.86.10.34 |
56 |
|
57 |
;; Query time: 157 msec |
58 |
;; SERVER: 203.27.41.5#53(203.27.41.5) |
59 |
;; WHEN: Mon Oct 24 20:30:22 2005 |
60 |
;; MSG SIZE rcvd: 288 |
61 |
|
62 |
Regards, |
63 |
DigbyT |
64 |
-- |
65 |
Digby R. S. Tarvin digbyt@××××××.com |
66 |
http://www.digbyt.com |
67 |
-- |
68 |
gentoo-user@g.o mailing list |