Newbie; setting up DNS with ISP
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Mon Dec 22 03:21:57 UTC 2003
> Hi,
> I am setting up my dns server I think I have it working.
> I telnet into my ISP and do a nslookup to verify that DNS is has been
> pass though the router connection and it seems to.
> My ISP thinks that I may have a problem and have not been able to
> configure there DNS to resolve ourwire.com.
>
> I have included my my nslookup and simple name.config file. I would
> appreciate any comments.
>
> Thank you
> ernie.
>
Well ourwire.com is not delegated to your server
; <<>> DiG 8.3 <<>> @a.gtld-servers.net ourwire.com +norec
; (1 server found)
;; res options: init defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35637
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2
;; QUERY SECTION:
;; ourwire.com, type = A, class = IN
;; AUTHORITY SECTION:
ourwire.com. 2D IN NS dns3.bit-net.com.
ourwire.com. 2D IN NS dns4.bit-net.com.
;; ADDITIONAL SECTION:
dns3.bit-net.com. 2D IN A 216.38.168.3
dns4.bit-net.com. 2D IN A 216.38.168.4
;; Total query time: 230 msec
;; FROM: drugs.dv.isc.org to SERVER: 192.5.6.30
;; WHEN: Mon Dec 22 14:17:46 2003
;; MSG SIZE sent: 29 rcvd: 107
> > server 216.38.160.189
> Default Server: IP160-189.dsl.bit-net.c
> Address: 216.38.160.189
>
> > ourwire.com
> Server: IP160-189.dsl.bit-net.com
> Address: 216.38.160.189
>
> Name: ourwire.com
> Address: 216.38.160.189
>
> > www.ourwire.com
> Server: IP160-189.dsl.bit-net.com
> Address: 216.38.160.189
>
> Name: www.ourwire.com
> Address: 216.38.160.189
>
> ////////////////////////////////////////
>
> here is my config
>
> //////////////////////////////////////
>
> named.conf
> //
> options {
> directory "/var/named";
> /*
> * If there is a firewall between you and nameservers you want
> * to talk to, you might need to uncomment the query-source
> * directive below. Previous versions of BIND always asked
> * questions using port 53, but BIND 8.1 uses an unprivileged
> * port by default.
> */
> pid-file "named.pid"; // index id ?
> query-source address 192.168.0.4 port 53;
>
> };
>
> //
> // a caching only nameserver config
> //
> zone "." IN {
> type hint;
> file "named.ca";
> };
>
> zone "localhost" IN {
> type master;
> file "localhost.zone";
> allow-update { none; };
> };
>
> zone "0.0.127.in-addr.arpa" IN {
> type master;
> file "named.local";
> allow-update { none; };
> };
>
> //ourwire.con
> zone "ourwire.com" { type master; file
> "ourwire/ourwire.db"; };
>
> //reverse mapping
> //
> zone "0.168.192.in-addr.arpa" { type master; file
> "rev/192.168.0.rev"; };
>
> //
> key "key" {
> algorithm hmac-md5;
> secret "QkLLUQKibmrKEEqbSVeqoK";
> };
>
>
>
> ///////////////////////////////////
> // file ourwire.db
> //////////////////////////////////
>
> $TTL 3600
> ;$TTL 86400
> ; Data file of hostnames in this zone.
> ;
> @ IN SOA dns.ourwire.com. postmaster.mail.ourwire.com. (
> 310033 ; Serial
> 10800 ; Refresh - 3 hours
> 900 ; Retry - 15 minute
> 604800 ; Expire - 1 weeks
> 86400 ) ; Minimum - 24 hours
> IN NS dns.ourwire.com.
> ; IN NS dns2.ourwire.com.
> IN MX 10 smtp.ourwire.com.
> ; IN MX 20 smtp.ourwire.com.
> IN A 216.38.160.189
>
> ;
> ; ourwire.com
> ;
>
> www IN A 216.38.160.189
> IN MX 10 www.ourwire.com.
> ftp IN CNAME www
> dns IN A 216.38.160.189
> smtp IN A 216.38.160.189
> ;
>
> news IN A 216.38.160.189
> news2 IN CNAME news
> ;
> mailhost IN CNAME mail
> pop3 IN CNAME mail
The host mail does not exist.
> ;
> ;rtr1 IN A 216.38.160.189
> ;squid IN A 216.38.160.189
> ;
> ;
>
>
>
>
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list