Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setup dns with redhat 9 but still not working?

Status
Not open for further replies.

aot2002

Programmer
Oct 23, 2003
2
US
I setup dns with redhat 9 and the bind version that comes compiled with it. Heres the issue ! the domain points to .com which is not my domain name heres the logs ?
also i might add my machine is using external dns with its own network adapter.
look at where it shows the .com under authority section on the bottom of the list i cant understand why ???
am i doing something wrong?



[root@localhost named]# cat db.mydomainwouldgohere.com.inside
$TTL 8H
@ IN SOA mydomainwouldgohere.com. hostmaster.mydomainwouldgohere.com. (
10242003 ; Serial
8H ; Refresh
4H ; Retry
1000H ; Expire
24H ) ; Minimum

IN NS ns.mydomainwouldgohere.com.


ns1 IN A 123.123.123.123
ns IN A 123.123.123.123
ns2 IN A 123.123.123.123
mail IN A 123.123.123.123
www IN A 123.123.123.123
ftp IN A 123.123.123.123





;EOF
[root@localhost named]# cat db.mydomainwouldgohere.com.outside
$TTL 8H
@ IN SOA mydomainwouldgohere.com. hostmaster.mydomainwouldgohere.com. (
10232003 ; Serial
8H ; Refresh
4H ; Retry
1000H ; Expire
24H ) ; Minimum

IN NS ns.mydomainwouldgohere.com.


;50 IN PTR 50 IN PTR mydomainwouldgohere.com.


;EOF



[root@localhost named]# dig mydomainwouldgohere.com
; <<>> DiG 9.2.1 <<>> mydomainwouldgohere.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 40174
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mydomainwouldgohere.com. IN A

;; AUTHORITY SECTION:
com. 10800 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 2003102301 1800 900 604800 86400

;; Query time: 69 msec
;; SERVER: 192.168.57.1#53(192.168.57.1)
;; WHEN: Fri Oct 24 00:58:50 2003
;; MSG SIZE rcvd: 105

[root@localhost named]#
 
i changed the ip to a fake ip and name to keep things secure!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top