<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Şimşek Mert &#187; CentOS</title>
	<atom:link href="http://www.simsekmert.com/wp/category/linux/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simsekmert.com/wp</link>
	<description>Kişisel Web Sayfası</description>
	<lastBuildDate>Thu, 13 Jan 2011 09:10:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Centos &#8211; DNS Konfigürasyon</title>
		<link>http://www.simsekmert.com/wp/2009/05/centos-dns-konfigurasyon/</link>
		<comments>http://www.simsekmert.com/wp/2009/05/centos-dns-konfigurasyon/#comments</comments>
		<pubDate>Thu, 14 May 2009 21:24:46 +0000</pubDate>
		<dc:creator>Şimşek Mert</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dns]]></category>

		<guid isPermaLink="false">http://www.simsekmert.com/wp/?p=76</guid>
		<description><![CDATA[CentOS da DNS konfigürasyonu nasıl yapılır???

DOMAIN TANIMLAMA
Öncelikle /etc/hosts dosyasını düzenleyelim. Bu dosya sunucumuzda hangi alan adlarının bulunduğunu belirleyen dosyadır.
vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
192.168.0.100     [...]]]></description>
			<content:encoded><![CDATA[<p>CentOS da DNS konfigürasyonu nasıl yapılır???</p>
<p><span id="more-76"></span></p>
<h2>DOMAIN TANIMLAMA</h2>
<p>Öncelikle /etc/hosts dosyasını düzenleyelim. Bu dosya sunucumuzda hangi alan adlarının bulunduğunu belirleyen dosyadır.</p>
<blockquote><p>vi /etc/hosts</p></blockquote>
<blockquote><p># Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1               localhost.localdomain localhost<br />
192.168.0.100           server1.simsekmert.com server1<br />
::1             localhost6.localdomain6 localhost6</p></blockquote>
<h2>EXTRA IP ADRESI TANIMLAMA</h2>
<p>Bu bölüm isteğe bağlıdır. Eğer sunucunuzun ağ arayüzü olan eth0 a birden fazla ip adresi tanımlamak istiyorsanız bu bölüm işinize yarayabilir. Aksi takdirde bir ip adresi ile sunucunuzu kuracaksanız bu bölümü atlayabilirsiniz.</p>
<p>Ağ arayüzümüz eth0 olsun. eth0 için ayarlamaları bulunduran <span class="system">/etc/sysconfig/network-scripts/ifcfg-eth0 dosyasını kullanarak yeni sanal arayüzümüzü kurgulayalım.</span></p>
<blockquote><p>cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0</p></blockquote>
<p><span class="system">eth0:0</span>. bağdaştırıcısı için 192.168.0.101 ip adresini kullanacağımı varsayalım. Bu durumda  <span class="system">/etc/sysconfig/network-scripts/ifcfg-eth0:0 dosyasını açarak aşağıdaki gibi düzenleyelim.</span></p>
<blockquote><p>vi /etc/sysconfig/network-scripts/ifcfg-eth0:0</p></blockquote>
<blockquote>
<pre># Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0:0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.101
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes</pre>
</blockquote>
<p>Şimdi ağımızı yeniden başlatalım</p>
<blockquote><p>/etc/init.d/network restart</p></blockquote>
<p>Şimdi aşağıdaki komut ile ağ arayüzlerimizi görüntüleyebiliriz. Görüntü aşağıdakine benzer bir şekilde olmalıdır.</p>
<blockquote><p>[root@server1 ~]# ifconfig<br />
eth0      Link encap:Ethernet  HWaddr 00:0C:29:55:33:B3<br />
inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0<br />
inet6 addr: fe80::20c:29ff:fe55:33b3/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:355 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:300 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:31326 (30.5 KiB)  TX bytes:47669 (46.5 KiB)<br />
Interrupt:177 Base address:0&#215;1400</p>
<p>eth0:0    Link encap:Ethernet  HWaddr 00:0C:29:55:33:B3<br />
inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
Interrupt:177 Base address:0&#215;1400</p>
<p>lo        Link encap:Local Loopback<br />
inet addr:127.0.0.1  Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING  MTU:16436  Metric:1<br />
RX packets:8 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0<br />
RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)</p>
<p>[root@server1 ~]#</p></blockquote>
<p><span class="system">sadfas</span></p>
<p><span class="system"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simsekmert.com/wp/2009/05/centos-dns-konfigurasyon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

