I'm not sure :) you can also leave it like this and then I will take a
closer look on how to solve this more cleanly.
On 23 May 2014 17:29, "Jake Goulding" <notifications@github.com> wrote:

> In server.go:
>
> > @@ -325,9 +322,9 @@ func (s *server) AddressRecords(q dns.Question, previousRecords []dns.RR) (recor
> >  		switch {
> >  		case ip == nil:
> >  		case ip.To4() != nil && q.Qtype == dns.TypeA:
> > -			records = append(records, serv.NewA(q.Name, serv.ttl, ip.To4()))
>
> I must have misunderstood what you meant, actually. serv.NewA takes in
> the calculated TTL earlier in this function, so I cannot have serv.NewAimplicitly use the
> ttl field. Did you want me to pass in ttl in all the locations, instead
> of serv.ttl?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/skynetservices/skydns2/pull/24/files#r13004291>
> .
>