Why MY DNS is not working" FTP never works]
Hi , I am trying to configure my server as DNS i am never able to figure it out what is the error my files looks like the attahcment i have enclosed but it when i do nslookup on my local system and try to resolve my hostname it never work. i did not find any bind program like 'ndc' supported by other unix OS. like nslookup *** Can't find server name for address 64.252.31.94 : No response from server set type=SOA
sambitnanda.com Server: ns2.snet.net Address: 204.60.0.3
*** ns2.snet.net can't find sambitnanda.com: Non-existent host/domain which should work from my local system Question 2 what is the way i can open my ftp , i changed my inetd.conf to like ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a # ftp stream tcp nowait root /usr/sbin/tcpd proftpd # ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd but it never works. thanks Sambit $TTL 172800 @ IN SOA sambitnanda.com. root.sambitnanda.com. ( 25082002 ; Serial 2508 ; Refresh 7200 ; Retry 864000 ; Expire 86400) ; Minimum TTL NS sambitnanda.com. 1 PTR localhost. $TTL 172800 @ IN SOA sambitnanda.com. root.sambitnanda.com. ( 25082002 ; Serial 2508 ; Refresh 7200 ; Retry 864000 ; Expire 86400) ; Minimum TTL NS sambitnanda.com. 4 PTR sambitnanda.com. ; ; There might be opening comments here if you already have this file. ; If not don't worry. ; . 6D IN NS G.ROOT-SERVERS.NET. . 6D IN NS J.ROOT-SERVERS.NET. . 6D IN NS K.ROOT-SERVERS.NET. . 6D IN NS L.ROOT-SERVERS.NET. . 6D IN NS M.ROOT-SERVERS.NET. . 6D IN NS A.ROOT-SERVERS.NET. . 6D IN NS H.ROOT-SERVERS.NET. . 6D IN NS B.ROOT-SERVERS.NET. . 6D IN NS C.ROOT-SERVERS.NET. . 6D IN NS D.ROOT-SERVERS.NET. . 6D IN NS E.ROOT-SERVERS.NET. . 6D IN NS I.ROOT-SERVERS.NET. . 6D IN NS F.ROOT-SERVERS.NET. G.ROOT-SERVERS.NET. 5w6d16h IN A 192.112.36.4 J.ROOT-SERVERS.NET. 5w6d16h IN A 198.41.0.10 K.ROOT-SERVERS.NET. 5w6d16h IN A 193.0.14.129 L.ROOT-SERVERS.NET. 5w6d16h IN A 198.32.64.12 M.ROOT-SERVERS.NET. 5w6d16h IN A 202.12.27.33 A.ROOT-SERVERS.NET. 5w6d16h IN A 198.41.0.4 H.ROOT-SERVERS.NET. 5w6d16h IN A 128.63.2.53 B.ROOT-SERVERS.NET. 5w6d16h IN A 128.9.0.107 C.ROOT-SERVERS.NET. 5w6d16h IN A 192.33.4.12 D.ROOT-SERVERS.NET. 5w6d16h IN A 128.8.10.90 E.ROOT-SERVERS.NET. 5w6d16h IN A 192.203.230.10 I.ROOT-SERVERS.NET. 5w6d16h IN A 192.36.148.17 F.ROOT-SERVERS.NET. 5w6d16h IN A 192.5.5.241 $TTL 172800 @ IN SOA sambitnanda.com. root.sambitnanda.com. ( 25082002 ; Serial 2508 ; Refresh 7200 ; Retry 864000 ; Expire 86400 ; Minimum TTL ) @ IN NS sambitnanda.com. IN A 64.252.31.94 IN MX 10 sambitnanda.com. TXT "Sambit Nanda Org " localhost A 127.0.0.1 sambitnanda.com. A 64.252.31.94 ns A 64.252.31.94 www A 64.252.31.94 mail CNAME sambitnanda.com. ftp CNAME sambitnanda.com. options { directory "/var/named"; datasize 20M; listen-on { 64.252.31.94 } // Uncommenting this might help if you have to go through a // firewall and things are not working out: // query-source port 53; }; zone "." { type hint; file "root.hints"; }; zone "0.0.127.in-addr.arpa" { type master; file "127.0.0"; }; zone "31.252.64.in-addr.arpa" { type master; file "64.252.31"; }; # zone "50.10.10.in-addr.arpa" { # type master; # file "64.252.31"; # }; zone "sambitnanda.com" { type master; notify no; file "sambitnanda.com"; }; search sambitnand.com 64.252.31.94 204.60.0.3 203.60.0.2 nameserver 64.252.31.94 nameserver 204.60.0.3 nameserver 204.60.0.2
participants (1)
-
sambit