LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Dns server issue (https://www.linuxquestions.org/questions/linux-server-73/dns-server-issue-947325/)

call_krushna 05-29-2012 12:40 AM

Dns server issue
 
Hi Team,

I have configured Dns server in my network.I am able to ping with FQDN e.g. ns1.myserver.local but not able to ping to myserver.local .Am I missing something in configuration .
Please suggest .
Below is the my zonefile details.
################### zone start here ########################
$TTL 1D
myserver.local. IN SOA ns1.myserver.local. admin.myserver.local. (
2006081401
28800
3600
604800
38400
)

myserver.local. IN NS ns1.myserver.local.

ns1 IN A 10.0.1.121
dns IN A 10.0.1.121
zabbix IN A 10.0.1.213
######################## Zone ends here ####################


Please suggest me for any modification .


Any help is highly appreciable.

sanjay87 05-29-2012 12:45 AM

What Distro of operating system are u configuring Dns ?

bathory 05-29-2012 01:02 AM

Hi,

You need to add an A record for myserver.local
Code:

$TTL 1D
myserver.local. IN SOA ns1.myserver.local. admin.myserver.local. (
2006081401  ; <-- Must be increased
28800
3600
604800
38400
)

myserver.local. IN NS ns1.myserver.local.

myserver.local. IN A 10.0.1.121
ns1 IN A 10.0.1.121
dns IN A 10.0.1.121
zabbix IN A 10.0.1.213

Don't forget to increase the serial and reload.

Regards

call_krushna 05-29-2012 02:05 AM

Quote:

Originally Posted by sanjay87 (Post 4689959)
What Distro of operating system are u configuring Dns ?

Ubuntu 10.10 64bit

call_krushna 05-29-2012 02:11 AM

Quote:

Originally Posted by bathory (Post 4689970)
Hi,

You need to add an A record for myserver.local
Code:

$TTL 1D
myserver.local. IN SOA ns1.myserver.local. admin.myserver.local. (
2006081401  ; <-- Must be increased
28800
3600
604800
38400
)

myserver.local. IN NS ns1.myserver.local.

myserver.local. IN A 10.0.1.121
ns1 IN A 10.0.1.121
dns IN A 10.0.1.121
zabbix IN A 10.0.1.213

Don't forget to increase the serial and reload.

Regards

Thanks It solved my problem .


All times are GMT -5. The time now is 12:32 AM.