[SR-Users] domain name

Iñaki Baz Castillo ibc at aliax.net
Thu Jun 10 14:24:36 CEST 2010


2010/6/10 Klaus Darilion <klaus.mailinglists at pernau.at>:
> somewhere between normal routing decisions and t_relay(), e.g.
>
> route {
>  ...sanity checks
>  ...authentication
>  ...NAT traversal
>  ...routing decisions
>
>  if ($rd = "1.2.3.4") { #ip address of gateway
>    $rd = "domain.com";
>  }
>
>  t_relay();
>  exit;
> }

Also if you use LCR module the domain part of the RURI can be set by
giving such value to the "hostname" field in the gw table.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-users mailing list