Add domain to bind

18 12 2009

What have i made:
1) added to named.conf

zone “DOMAIN” in {
allow-transfer { localnets; };
file “master/DOMAIN”;
type master;
};
zone “2.168.192.in-addr.arpa” in {
allow-transfer { localnets; };
file “master/2.168.192.zone”;
type master;
};

2) created at /var/named/master files
DOMAIN:
$TTL 2D
@ IN SOA server.DOMAIN. root.DOMAIN. (
2008120711 ; serial
3H ; refresh
1H ; retry
1W ; expiry
1D ) ; minimum
IN NS localhost.

DOMAIN. IN A 192.168.2.15
* IN CNAME DOMAIN.

2.168.192.zone:
$TTL 2D
@ IN SOA server.DOMAIN. root.DOMAIN. (
2008120701 ; serial
3H ; refresh
1H ; retry
1W ; expiry
1D ) ; minimum
IN NS localhost.

15 IN PTR DOMAIN.

3) restarted named





Check TCP and port

18 12 2009

Command for check: iptables -tulpen

The result is:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:39496 0.0.0.0:* LISTEN 1000 52632 15541/skype
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 60 10410 4188/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 7706 2997/rpcbind
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 65534 30477 10521/dansguardian
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 0 8130 3176/X
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 0 11794 4494/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 11689 4469/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 9878 4190/cupsd
tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 0 30424 10508/(squid)
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 11312 4384/master
tcp 0 0 :::111 :::* LISTEN 0 7711 2997/rpcbind
tcp 0 0 :::6000 :::* LISTEN 0 8129 3176/X
tcp 0 0 :::22 :::* LISTEN 0 11691 4469/sshd
udp 0 0 0.0.0.0:55055 0.0.0.0:* 31 30418 10508/(squid)
udp 0 0 0.0.0.0:3130 0.0.0.0:* 0 30425 10508/(squid)
udp 0 0 0.0.0.0:68 0.0.0.0:* 0 16787 5182/dhclient
udp 0 0 0.0.0.0:39496 0.0.0.0:* 1000 52633 15541/skype
udp 0 0 0.0.0.0:3401 0.0.0.0:* 0 30426 10508/(squid)
udp 0 0 0.0.0.0:5353 0.0.0.0:* 103 9771 4128/avahi-daemon:
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 7636 2997/rpcbind
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 9885 4190/cupsd
udp 0 0 0.0.0.0:35450 0.0.0.0:* 103 9772 4128/avahi-daemon:
udp 0 0 10.0.0.103:123 0.0.0.0:* 74 18789 4333/ntpd
udp 0 0 172.16.25.1:123 0.0.0.0:* 0 10762 4333/ntpd
udp 0 0 172.16.91.1:123 0.0.0.0:* 0 10761 4333/ntpd
udp 0 0 127.0.0.2:123 0.0.0.0:* 0 10760 4333/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 0 10759 4333/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 0 10704 4333/ntpd
udp 0 0 0.0.0.0:1020 0.0.0.0:* 0 7705 2997/rpcbind
udp 0 0 127.0.0.1:35325 0.0.0.0:* 1000 49688 15541/skype
udp 0 0 :::177 :::* 0 8074 3142/gdm
udp 0 0 :::111 :::* 0 7708 2997/rpcbind
udp 0 0 fe80::213:2ff:fe6c::123 :::* 74 18788 4333/ntpd
udp 0 0 fe80::250:56ff:fec0:123 :::* 0 10712 4333/ntpd
udp 0 0 ::1:123 :::* 0 10711 4333/ntpd
udp 0 0 fe80::250:56ff:fec0:123 :::* 0 10710 4333/ntpd
udp 0 0 :::123 :::* 0 10705 4333/ntpd
udp 0 0 :::1020 :::* 0 7710 2997/rpcbind





My First CSS

27 02 2009

I am newbie on CSS so I will try with small one
Today is background

For all
background-repeat: repeat

For vertical
background-repeat: repeat-y

For horizontal
background-repeat: repeat-x

For position with precentage;
background-repeat: no-repeat;
background-attachment:fixed;
background-position: 30% 20%;

For center position
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;

For not scrolling
background-image:
url(‘smiley.gif’);
background-repeat:
no-repeat;
background-attachment:
fixed

Illustration








Follow

Get every new post delivered to your Inbox.