[afnog] -avoid using www in url
Habib Mohammedaman
habibhma at gmail.com
Thu Mar 13 08:21:54 UTC 2008
I am using Solaris OE with bind DNS and here is the conf file
bash-2.03# more /var/named/mu.edu.et/db.mu.net
$TTL 7d
$ORIGIN mu.net.
@ IN SOA ns1.mu.edu. dnsadmin.mu.edu. (
2005030210031; serial
2h ; refresh
1h ; retry
7d ; expire
3h ; min TTL
)
; NAME SERVER RECORDS
@ IN NS ns1.mu.net.
@ IN NS ns2.mu.net.
;MAIL EXCHANGE RECORDS
;mail to @mu.edu.et goes to proxy servers
IN MX 10 email.mu.net.
IN MX 10 amail.mu.net.
; IN CNAME www.mu.edu.
; IN MX 20 embox.mu.edu.et.
; IN MX 20 ambox.mu.edu.et.
; GEOGRAPHICAL LOCATION
$INCLUDE db.loc
; ROUTERS AND SWITCHES
$INCLUDE db.switches
; ADDITIONAL ALIAS FOR DNS
ns1 IN A 10.128.5.25
ns2 IN A 10.129.5.25
; MAIN PROXY on dns
proxy IN A 10.128.5.25
eproxy IN CNAME proxy
aproxy IN A 10.129.5.25
email IN CNAME proxy
amail IN CNAME aproxy
; LDAP SERVERS
;eldap IN A 10.128.6.24
aldap IN A 10.129.6.24
; WWW SERVERS
www IN A 10.129.5.16
wpad IN A 10.128.5.16
IN TXT "service: wpad:!http://wpad.mu.net:80/proxy.pac"
wpad.tcp IN SRV 0 0 80 wpad.mu.net.
ewww IN CNAME www
awww IN A 10.129.5.16
............. etc
On 3/13/08, Catalin Miclaus <catalin at starcomms.com> wrote:
>
> What DNS software are you using?
>
> Can you post relevant parts of your domain configuration including
> www.example.com and example.com or whatever name you have over there?
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> BR,
>
>
>
> Catalin Miclaus
>
> Senior Network/Security Administrator
>
> Starcomms Ltd.
>
> www.starcomms.com
>
> Phone: 234-7028000733
>
> *From:* afnog-bounces at afnog.org [mailto:afnog-bounces at afnog.org] *On
> Behalf Of *Habib Mohammedaman
> *Sent:* Thursday, March 13, 2008 7:48 AM
> *To:* afnog at afnog.org
> *Subject:* [afnog] -avoid using www in url
>
>
>
>
> Dear freinds,
>
>
> i have ask this before but it couldn't work for me !
> it is in our local domain sites and external also i wana www.example.comand
> example.com to be used and gives the same result that mean every user to
> both of this domain names alternatively .
>
> i try it in my local dns but it stop resolveing inside and forward it to
> outside.
>
> side point me to solution for this.
>
> Regards
> --
> Habib M. (SCSA)
> Computer Science Department
> Mekelle University
> P.O.Box : 451
> +251-91-1706596
> Ethiopia
>
--
Habib M. (SCSA)
Computer Science Department
Mekelle University
P.O.Box : 451
+251-91-1706596
Ethiopia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20080313/1797bc62/attachment-0002.html>
More information about the afnog
mailing list