cisco 1760
На интерфейсе Fa 0/0 поднят pppoe server
проверка пользователя/пароля на RADIUS-е
адреса раздает DHCP сервер в самой цискеНеобходимо, чтобы при подключении пользователя на DNS сервере создавалась запись вида:
{ip юзера} (PTR) username.{чего нить}
соответствующая зона настроена и работает
Сделано так:
Код:
interface Virtual-Template1
mtu 1492
ip dhcp client update dns
ip ddns update pppoe-ddns host-group dns-servers
ip unnumbered Loopback1
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
ip route-cache policy
ip route-cache flow
peer ip address forced
peer default ip address dhcp-pool PPPoE-pool
ppp authentication ms-chap-v2 PPPoE_Radius
ppp authorization PPPoE_Radius
Сейчас запись создается вида {ip циски на Loopback1} PTR {FQDN циски}
кусок дебага
Код:
DHCPD: IP address change on interface Virtual-Access47
%LINK-3-UPDOWN: Interface Virtual-Access47, changed state to up
DYNUPD: SWIF comingup 'Virtual-Access47'
DHCPD: allocate request for client {username} on Virtual-Access47.
DHCPD: Pool PPPoE-pool specified.
DHCPD: Interface Virtual-Access47 is not associated with any VRF.
DHCPD: found pool PPPoE-pool for client {username}.
%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access47, changed state to up
DHCPD: allocate request for client {username} on Virtual-Access47.
DHCPD: Pool PPPoE-pool specified.
DHCPD: Interface Virtual-Access47 is not associated with any VRF.
DHCPD: Adding binding to radix tree ({user IP})
DHCPD: Adding binding to hash tree
DHCPD: assigned IP address {user IP} to client {username dump}
DHCPD: found pool PPPoE-pool for client {username}.
DYNDNSUPD: Adding DNS mapping for {FQDN циски} <=> {ip циски на Loopback1} server {ip DNS сервера}
DDNS: Enqueuing new DDNS update '{FQDN циски}' <=> {ip циски на Loopback1} server {ip DNS сервера}
DDNS: Zone name for '{ip циски}.in-addr.arpa.' is '{зона}.in-addr.arpa'
DDNS: Using server {ip DNS сервера}
DDNS: Dynamic Update 1: (sending to server {ip DNS сервера})
DDNS: Zone = {зона}.in-addr.arpa
DDNS: Prerequisite: {ip циски}.in-addr.arpa. not in use
DDNS: Update: add {ip циски}.in-addr.arpa. IN PTR {FQDN циски}
DDNS: Dynamic DNS Update 1 (PTR) for host {FQDN циски} returned 6 (YXDOMAIN)
DDNS: Dynamic Update 2: (sending to server {ip DNS сервера})
DDNS: Zone = {зона}.in-addr.arpa
DDNS: Update: delete {ip циски}.in-addr.arpa. all PTR RRs
DDNS: Update: add {ip циски}.in-addr.arpa. IN PTR {FQDN циски}
DDNS: Dynamic DNS Update 2 (PTR) for host {FQDN циски} returned 0 (NOERROR)
DYNDNSUPD: Another update completed (outstanding=0, total=0)