I just noticed a few more typos in your dns zone settings in ISPConfig which I did not recognized the first time and that's why you have this .err file. Remove the dots behind ns1, ns2, and www. A dot is only added when a record contains the full domain name but not when you define a short name like ns1
its done and shall i have also restarted bind9 service but still unable to find entries in named.conf.local file so is there any default content to add in named.conf.local file
I just runned this command root@softpro9:/etc/bind# cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 118.151.209.5 nameserver 118.151.209.6 as the above mentioned ip belongs to my isp providers DNS configured in my router as well as in network cards to get access to internet. Is this some thing natural or i need to change the ip to private ip.
Then there is still something wrong in that dns zone. ISPConfig won't save it as .err file when bind would accept it. Plese post the output of the command: ls -la /etc/bind and the content of the file: /etc/bind/pri.yashkart.com.err
Hi good evening, sorry for delay in replying as i was on my way back to home, root@softpro9:~# ls -la /etc/bind total 84 drwxr-sr-x 3 root bind 4096 Aug 1 19:01 . drwxr-xr-x 122 root root 12288 Aug 1 18:30 .. -rw-r--r-- 1 root root 2389 Jun 29 19:04 bind.keys -rw-r--r-- 1 root root 237 Jun 29 19:04 db.0 -rw-r--r-- 1 root root 271 Jun 29 19:04 db.127 -rw-r--r-- 1 root root 237 Jun 29 19:04 db.255 -rw-r--r-- 1 root root 353 Jun 29 19:04 db.empty -rw-r--r-- 1 root root 270 Jun 29 19:04 db.local -rw-r--r-- 1 root root 3171 Jun 29 19:04 db.root -rw-r--r-- 1 root bind 463 Jun 29 19:04 named.conf -rw-r--r-- 1 root bind 490 Jun 29 19:04 named.conf.default-zones -rw-r--r-- 1 root bind 1 Aug 1 18:24 named.conf.local -rw-r--r-- 1 root bind 248 Aug 1 19:00 named.conf.local.save -rw-r--r-- 1 root bind 1024 Aug 1 19:01 .named.conf.local.swp -rw-r--r-- 1 root bind 933 Aug 1 13:22 named.conf.options -rw-r--r-- 1 root bind 836 Aug 1 18:24 pri.yashkart.com -rw-r----- 1 bind bind 77 Jul 25 19:32 rndc.key drwxrws--- 2 root bind 4096 Jul 25 19:33 slave -rw-r--r-- 1 root root 1317 Jun 29 19:04 zones.rfc1918 root@softpro9:~# And there in data or any entries in /etc/bind/pri.yashkart.com.err file What should be next plan of action. thanks
root@softpro9:/etc/bind# nano pri.yashkart.com GNU nano 2.5.3 File: pri.yashkart.com $TTL 3600 @ IN SOA ns1.yashkart.com. info.yashkart.com. ( 2017080112 ; serial, todays date + todays serial # 7200 ; refresh, seconds 540 ; retry, seconds 604800 ; expire, seconds 3600 ) ; minimum, seconds ; ns2 3600 A 103.21.234.52 yashkart.com. 3600 TXT "v=spf1 mx a ~all" yashkart.com. 3600 MX 10 mail.yashkart.com. yashkart.com. 3600 NS ns2.yashkart.com. yashkart.com. 3600 NS ns1.yashkart.com. mail 3600 A 103.21.234.52 ns1 3600 A 103.21.234.52 www 3600 A 103.21.234.52 yashkart.com. 3600 A 103.21.234.52 pop3 3600 CNAME mail.yashkart.com
You missed adding a dot after 'mail.yashkart.com'. Login to ispconfig, edit the pop3 cname record and add the dot after mail.yashkart.com Beside that, the file looks fine now. wait 2 minutes after you edited the DNS zone. Then check the named.conf.local file, it should contain a line for the zone now and the zone should be resolvable with the dig @localhost command we used above for testing.
hi good morning Mr. Till as per u r instruction details are as mentioned below root@softpro9:~# dig @localhost yashkart.com ; <<>> DiG 9.10.3-P4-Ubuntu <<>> @localhost yashkart.com ; (2 servers found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 5348 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;yashkart.com. IN A ;; Query time: 1492 msec ;; SERVER: ::1#53:1) ;; WHEN: Wed Aug 02 13:29:25 IST 2017 ;; MSG SIZE rcvd: 41
root@softpro9:~# dig +trace @localhost yashkart.com ; <<>> DiG 9.10.3-P4-Ubuntu <<>> +trace @localhost yashkart.com ; (2 servers found) ;; global options: +cmd . 517184 IN NS j.root-servers.net. . 517184 IN NS a.root-servers.net. . 517184 IN NS c.root-servers.net. . 517184 IN NS m.root-servers.net. . 517184 IN NS i.root-servers.net. . 517184 IN NS g.root-servers.net. . 517184 IN NS f.root-servers.net. . 517184 IN NS k.root-servers.net. . 517184 IN NS h.root-servers.net. . 517184 IN NS l.root-servers.net. . 517184 IN NS e.root-servers.net. . 517184 IN NS d.root-servers.net. . 517184 IN NS b.root-servers.net. . 518179 IN RRSIG NS 8 0 518400 20170815050000 20170802040000 15768 . dPKbi3XqucKq0uKRET/ypAtNZnAvTxc+ZunIzYeW7rWGII0pwAXVXSYf iz/BecfFKG6SvdAeWju+h+X9laZes35Z9Yi8YPpJhCNgrP3QEE+Zg43z 2zSXoJErZlONE/YOLffqkhJ2GJcjUq75V4xy0Lgq0N/iPcv6RIYOnGux 2OGO3iOXSSA6gUUNKeCqcfJs9q72rE68CZ2kP+2eCs65TocIefxMuH9U VGGWqfM5jwKjn74eEvXdsxIZ6ANltJCGVOffHlxtAMSyxsXLgMCKwRfZ swxBgdAbHwFXHGHRaa9VDILPIprftFU5tJFxvY/6+32rmY3U4VhGJOL4 m5gBRQ== ;; Received 525 bytes from ::1#53(localhost) in 0 ms com. 172800 IN NS g.gtld-servers.net. com. 172800 IN NS k.gtld-servers.net. com. 172800 IN NS e.gtld-servers.net. com. 172800 IN NS a.gtld-servers.net. com. 172800 IN NS d.gtld-servers.net. com. 172800 IN NS m.gtld-servers.net. com. 172800 IN NS f.gtld-servers.net. com. 172800 IN NS h.gtld-servers.net. com. 172800 IN NS b.gtld-servers.net. com. 172800 IN NS j.gtld-servers.net. com. 172800 IN NS c.gtld-servers.net. com. 172800 IN NS i.gtld-servers.net. com. 172800 IN NS l.gtld-servers.net. com. 86400 IN DS 30909 8 2 E2D3C916F6DEEAC73294E8268FB5885044A833FC5459588F4A9184CF C41A5766 com. 86400 IN RRSIG DS 8 1 86400 20170815050000 20170802040000 15768 . iQXhKwP2AzMNitYPirZUGnK49LHZfMjcnsWjLUewNgZiv1wvDMEJA4hh 5creLPjSN+ob04WcPKkT+XNhtFawAyBm+mCTiu3V5aRU1Bkid6nbHOFc AOF8sm7cz6becH7cuLsWtmO3BnY4Oiq7ppFoaSm8qk5PD6jCtFyY6cHa D3ZprZpcAqFzF8HWGsChrzJJI3GSPWWVHXfHirvhVP1SFoO924hJ3qvA 4aE/j52HHl3GwBt0I7NiBfVtNBCr0ksHN2N0DI1G2Gj3PZt83kt4IRPT 6YAJLsYDBE23v6A2CwMpXwEo9RxxAfYeIS9I0QrIBMArniEU+zXXNRpo 1mfjIg== ;; Received 1172 bytes from 202.12.27.33#53(m.root-servers.net) in 124 ms yashkart.com. 172800 IN NS ns1.yashkart.com. yashkart.com. 172800 IN NS ns2.yashkart.com. CK0POJMG874LJREF7EFN8430QVIT8BSM.com. 86400 IN NSEC3 1 1 0 - CK0Q1GIN43N1ARRC9OSM6QPQR81H5M9A NS SOA RRSIG DNSKEY NSEC3PARAM CK0POJMG874LJREF7EFN8430QVIT8BSM.com. 86400 IN RRSIG NSEC3 8 2 86400 20170809044925 20170802033925 5528 com. KS0jyJNtWSf8N1GKBBp9cqbag2CZyeLf8Db7xASupJSNS5q4p5tqnHlF ntwKdL5iw9MHSe0WExDFJU7mR6NlA7jRnronWxcc5Fwb6WY3i9becxDA iWuiTVLVWiPGcQkWksce89hq1sQKQr8j3vMD+qgxSldUYasRvFJHH8jY rlo= EFBEE48JJNDH5IICBH7OBDI0DSEJ8NDD.com. 86400 IN NSEC3 1 1 0 - EFBEV8R14ILME48KNHN70H62COHM85KU NS DS RRSIG EFBEE48JJNDH5IICBH7OBDI0DSEJ8NDD.com. 86400 IN RRSIG NSEC3 8 2 86400 20170806043946 20170730032946 5528 com. T9U0KylMh5LWTHc+r4dhCH54Tf6QUZya7lui7YlLqMv/VhhrfbPtUfRz 8fosM1rzSi/jqkJs4bFOuz+OxAQEPCrcQctgrPiijsB3pSDRd8fOmUVs gAByILnnvDjWhdG6AIcpnS+tG3a6wmRHAqmAR4GhdP7AajtlTGlnD0go W8k= ;; Received 594 bytes from 192.35.51.30#53(f.gtld-servers.net) in 218 ms ;; Received 41 bytes from 103.21.234.52#53(ns2.yashkart.com) in 2 ms
Hi Till as i have installed and configured ubuntu with ispconfig 3 on single system and also both name servers too pointing for same ip 103.21.234.52 and u can also consider the below mentioned url abt my server. https://www.howtoforge.com/communit...after-i-moved-my-domain-to-ispconfig-3.76997/
Hi ya i can see the file but it wont contain any entries in that. root@softpro9:/etc/bind# nano named.conf.local GNU nano 2.5.3 File: named.conf.local
Hi request you to plz find the attached file and according to that report port 53 is open in ubuntu system right ?
Yes, bind is listening on all network interfaces and you can test that with: dig @103.21.234.52 yashkart.com The problem is not on your server, the server is working fine. The port is blocked either on your router or by your internet service provider.
Hi i was unable to get port 53 working so if we get the port changed to some other number ll it be a problem.
Hi My infrastructure is like i have installed win2008 r2 (this is base system) then i have vmware in vmware i have setup my ubuntu webserver. So my point is do i need to do some thing in Windows server and network in bridged for ubuntu in vmware. Awaiting for your suggestions