[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: DNS woes...



Sorry, Angel, if this answer sounds really stupid, maybe I don't
understand the question, but... you could try editing the zone file,
right?
Change

24.61.130.101     myserver

to

172.16.1.1        myserver

..or have I totally missed your point? Or maybe use an internal name: my
web server (from the inside) is rat; from the outside it's called pinky.
My zone file looks like this:
;
; Zone file for algernonsystems.com
;
$TTL 3D
@       IN      SOA     ns1.algernonsystems.com.
hostmaster.algernonsystems.com. (                        200308291
                        8H
                        2H
                        4W
                        1D )
;
                NS      ns1.algernonsystems.com.
                NS      ns2.algernonsystems.com.
;
                MX      10      mx1.algernonsystems.com.
                MX      100     mx2.algernonsystems.com.
                MX      200     mail.algernonsystems.com.
;
localhost       A       127.0.0.1
;
; External Hosts
;
brain           A       24.61.130.102
pinky           A       24.61.130.103
phil            A       24.61.131.236
neal            A       24.128.193.55
inet-gw         A       66.31.84.51
;
; External Aliases
;
mail            CNAME   brain
mx1             CNAME   brain
mx2             CNAME   pinky
smtp            CNAME   brain
webmail         CNAME   brain
www             CNAME   pinky
ns1             CNAME   phil
ns2             CNAME   neal
;
; Internal Hosts
;
rat             A       172.16.1.1
rat2            A       172.16.1.2
tarsier         A       172.16.1.10
tarsier2        A       172.16.1.11
fluffy          A       172.16.1.14
pig             A       172.16.1.9
<snip>

So, say I need to restart apache: when I'm at home I can "ssh rat", but
when I'm at work or somewhere else outside my network I just ssh to rat by
doing "ssh pinky.algernonsystems.com".
-Tim


> i use bind 9 on my main server, to provide DNS info for my network...
> but the problem seems to be that it's DNS record for
> itself, gives the external IP address, and not the internal one, that
> my clients need. How can I change this??
> --
> *****
> Not everyone is touched by an Angel....
> .... Those that are, never forget the experience
> *****
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request redhat com
> Subject: unsubscribe


-- 
Tim Currie (tim algernonsystems com)






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]